diff graal/com.oracle.max.cri/src/com/oracle/max/cri/ri/RiRuntime.java @ 5506:56860d3f9f39

More refactorings and renamings in preparation of ci/ri split.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Thu, 07 Jun 2012 18:12:01 +0200
parents 438ab53efdd0
children dc71b06d09f8
line wrap: on
line diff
--- a/graal/com.oracle.max.cri/src/com/oracle/max/cri/ri/RiRuntime.java	Thu Jun 07 17:25:52 2012 +0200
+++ b/graal/com.oracle.max.cri/src/com/oracle/max/cri/ri/RiRuntime.java	Thu Jun 07 18:12:01 2012 +0200
@@ -43,7 +43,7 @@
      * @param code the code that should be disassembled
      * @return a disassembly. This will be of length 0 if the runtime does not support disassembling.
      */
-    String disassemble(RiCodeInfo code);
+    String disassemble(RiCodeInfo code, CiTargetMethod tm);
 
     /**
      * Returns the disassembly of the given method in a {@code javap}-like format.
@@ -80,9 +80,9 @@
      *
      * @param method the top level method of a compilation
      */
-    RiRegisterConfig getRegisterConfig(RiMethod method);
+    CiRegisterConfig getRegisterConfig(RiMethod method);
 
-    RiRegisterConfig getGlobalStubRegisterConfig();
+    CiRegisterConfig getGlobalStubRegisterConfig();
 
     /**
      * Custom area on the stack of each compiled method that the VM can use for its own purposes.
@@ -132,17 +132,17 @@
      * Encodes a deoptimization action and a deoptimization reason in an integer value.
      * @return the encoded value as an integer
      */
-    int encodeDeoptActionAndReason(RiDeoptAction action, RiDeoptReason reason);
+    int encodeDeoptActionAndReason(CiDeoptAction action, CiDeoptReason reason);
 
     /**
      * Converts a RiDeoptReason into an integer value.
      * @return An integer value representing the given RiDeoptReason.
      */
-    int convertDeoptReason(RiDeoptReason reason);
+    int convertDeoptReason(CiDeoptReason reason);
 
     /**
      * Converts a RiDeoptAction into an integer value.
      * @return An integer value representing the given RiDeoptAction.
      */
-    int convertDeoptAction(RiDeoptAction action);
+    int convertDeoptAction(CiDeoptAction action);
 }