diff graal/com.oracle.max.cri/src/com/oracle/max/cri/ri/RiRuntime.java @ 5450:e1f45fcddb49

Elimination of unused methods in the CRI.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Fri, 25 May 2012 20:23:24 +0200
parents 6cc970203f30
children 044502e7b5a4
line wrap: on
line diff
--- a/graal/com.oracle.max.cri/src/com/oracle/max/cri/ri/RiRuntime.java	Fri May 25 13:22:45 2012 +0200
+++ b/graal/com.oracle.max.cri/src/com/oracle/max/cri/ri/RiRuntime.java	Fri May 25 20:23:24 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);