diff graal/com.oracle.max.cri/src/com/oracle/max/cri/xir/XirSite.java @ 4998:985fbd8adf65

cleanup of XirSite: remove unused (and incorrectly implemented) type functions, add receiver to determine nonNull property
author Lukas Stadler <lukas.stadler@jku.at>
date Thu, 01 Mar 2012 12:04:37 +0100
parents aaac4894175c
children 5e6f1026a63e
line wrap: on
line diff
--- a/graal/com.oracle.max.cri/src/com/oracle/max/cri/xir/XirSite.java	Wed Feb 29 14:49:54 2012 +0100
+++ b/graal/com.oracle.max.cri/src/com/oracle/max/cri/xir/XirSite.java	Thu Mar 01 12:04:37 2012 +0100
@@ -75,20 +75,4 @@
      * @return {@code true} if an array store check is required
      */
     boolean requiresArrayStoreCheck();
-
-    /**
-     * Checks whether an approximation of the type for the specified argument is available.
-     * @param argument the argument
-     * @return an {@link RiType} indicating the most specific type known for the argument, if any;
-     * {@code null} if no particular type is known
-     */
-    RiType getApproximateType(XirArgument argument);
-
-    /**
-     * Checks whether an exact type is known for the specified argument.
-     * @param argument the argument
-     * @return an {@link RiType} indicating the exact type known for the argument, if any;
-     * {@code null} if no particular type is known
-     */
-    RiType getExactType(XirArgument argument);
 }