diff graal/com.oracle.max.cri/src/com/oracle/max/cri/xir/XirSite.java @ 5026:b11561111585

Remove FrameStateAccess: Make FrameState immutable and move all modification logic into FrameStateBuilder
author Christian Wimmer <Christian.Wimmer@Oracle.com>
date Mon, 05 Mar 2012 09:55:54 -0800
parents 5e6f1026a63e
children 2e9a5365dfb0
line wrap: on
line diff
--- a/graal/com.oracle.max.cri/src/com/oracle/max/cri/xir/XirSite.java	Mon Mar 05 14:38:43 2012 +0100
+++ b/graal/com.oracle.max.cri/src/com/oracle/max/cri/xir/XirSite.java	Mon Mar 05 09:55:54 2012 -0800
@@ -22,8 +22,6 @@
  */
 package com.oracle.max.cri.xir;
 
-import com.oracle.max.cri.ci.*;
-
 /**
  * Encapsulates the notion of a site where XIR can be supplied. It is supplied to the {@link RiXirGenerator} by the
  * compiler for each place where XIR can be generated. This interface allows a number of queries, including the
@@ -32,13 +30,6 @@
 public interface XirSite {
 
     /**
-     * Gets the {@link CiCodePos code position} associated with this site. This is useful for inserting
-     * instrumentation at the XIR level.
-     * @return the code position if it is available; {@code null} otherwise
-     */
-    CiCodePos getCodePos();
-
-    /**
      * Checks whether the specified argument is guaranteed to be non-null at this site.
      * @param argument the argument
      * @return {@code true} if the argument is non null at this site