diff graal/com.oracle.max.cri/src/com/oracle/max/cri/ri/RiRuntime.java @ 5453:071f24ba116e

Merge
author Gilles Duboscq <duboscq@ssw.jku.at>
date Wed, 30 May 2012 18:14:20 +0200
parents e1f45fcddb49
children 044502e7b5a4
line wrap: on
line diff
--- a/graal/com.oracle.max.cri/src/com/oracle/max/cri/ri/RiRuntime.java	Wed May 30 18:13:35 2012 +0200
+++ b/graal/com.oracle.max.cri/src/com/oracle/max/cri/ri/RiRuntime.java	Wed May 30 18:14:20 2012 +0200
@@ -33,34 +33,11 @@
 public interface RiRuntime {
 
     /**
-     * Offset of the lock within the lock object on the stack.
-
-     * Note: superseded by sizeOfLockData() in Graal.
-     *
-     * @return the offset in bytes
-     */
-    int basicObjectLockOffsetInBytes();
-
-    /**
-     * Get the size in bytes of a lock object on the stack.
-     *
-     * Note: superseded by sizeOfLockData() in Graal.
-     */
-    int sizeOfBasicObjectLock();
-
-    /**
      * Get the size in bytes for locking information on the stack.
      */
     int sizeOfLockData();
 
     /**
-     * The offset of the normal entry to the code. The compiler inserts NOP instructions to satisfy this constraint.
-     *
-     * @return the code offset in bytes
-     */
-    int codeOffset();
-
-    /**
      * Returns a disassembly of the given installed code.
      *
      * @param code the code that should be disassembled
@@ -77,17 +54,6 @@
     String disassemble(RiResolvedMethod method);
 
     /**
-     * Registers the given compiler stub and returns an object that can be used to identify it in the relocation
-     * information.
-     *
-     * @param targetMethod the target method representing the code of the compiler stub
-     * @param name the name of the stub, used for debugging purposes only
-     * @param info the object into which details of the installed code will be written (ignored if null)
-     * @return the identification object
-     */
-    Object registerCompilerStub(CiTargetMethod targetMethod, String name, RiCodeInfo info);
-
-    /**
      * Returns the RiType object representing the base type for the given kind.
      */
     RiResolvedType asRiType(CiKind kind);