comparison 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
comparison
equal deleted inserted replaced
5505:28af6dff047f 5506:56860d3f9f39
41 * Returns a disassembly of the given installed code. 41 * Returns a disassembly of the given installed code.
42 * 42 *
43 * @param code the code that should be disassembled 43 * @param code the code that should be disassembled
44 * @return a disassembly. This will be of length 0 if the runtime does not support disassembling. 44 * @return a disassembly. This will be of length 0 if the runtime does not support disassembling.
45 */ 45 */
46 String disassemble(RiCodeInfo code); 46 String disassemble(RiCodeInfo code, CiTargetMethod tm);
47 47
48 /** 48 /**
49 * Returns the disassembly of the given method in a {@code javap}-like format. 49 * Returns the disassembly of the given method in a {@code javap}-like format.
50 * 50 *
51 * @param method the method that should be disassembled 51 * @param method the method that should be disassembled
78 /** 78 /**
79 * Gets the register configuration to use when compiling a given method. 79 * Gets the register configuration to use when compiling a given method.
80 * 80 *
81 * @param method the top level method of a compilation 81 * @param method the top level method of a compilation
82 */ 82 */
83 RiRegisterConfig getRegisterConfig(RiMethod method); 83 CiRegisterConfig getRegisterConfig(RiMethod method);
84 84
85 RiRegisterConfig getGlobalStubRegisterConfig(); 85 CiRegisterConfig getGlobalStubRegisterConfig();
86 86
87 /** 87 /**
88 * Custom area on the stack of each compiled method that the VM can use for its own purposes. 88 * Custom area on the stack of each compiled method that the VM can use for its own purposes.
89 * @return the size of the custom area in bytes 89 * @return the size of the custom area in bytes
90 */ 90 */
130 130
131 /** 131 /**
132 * Encodes a deoptimization action and a deoptimization reason in an integer value. 132 * Encodes a deoptimization action and a deoptimization reason in an integer value.
133 * @return the encoded value as an integer 133 * @return the encoded value as an integer
134 */ 134 */
135 int encodeDeoptActionAndReason(RiDeoptAction action, RiDeoptReason reason); 135 int encodeDeoptActionAndReason(CiDeoptAction action, CiDeoptReason reason);
136 136
137 /** 137 /**
138 * Converts a RiDeoptReason into an integer value. 138 * Converts a RiDeoptReason into an integer value.
139 * @return An integer value representing the given RiDeoptReason. 139 * @return An integer value representing the given RiDeoptReason.
140 */ 140 */
141 int convertDeoptReason(RiDeoptReason reason); 141 int convertDeoptReason(CiDeoptReason reason);
142 142
143 /** 143 /**
144 * Converts a RiDeoptAction into an integer value. 144 * Converts a RiDeoptAction into an integer value.
145 * @return An integer value representing the given RiDeoptAction. 145 * @return An integer value representing the given RiDeoptAction.
146 */ 146 */
147 int convertDeoptAction(RiDeoptAction action); 147 int convertDeoptAction(CiDeoptAction action);
148 } 148 }