comparison graal/com.oracle.max.cri/src/com/oracle/max/cri/ri/RiRuntime.java @ 5507:dc71b06d09f8

Moving classes from cri.ri to api.meta.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Thu, 07 Jun 2012 18:24:06 +0200
parents 56860d3f9f39
children
comparison
equal deleted inserted replaced
5506:56860d3f9f39 5507:dc71b06d09f8
22 */ 22 */
23 package com.oracle.max.cri.ri; 23 package com.oracle.max.cri.ri;
24 24
25 import java.lang.reflect.*; 25 import java.lang.reflect.*;
26 26
27 import com.oracle.graal.api.meta.*;
27 import com.oracle.max.cri.ci.*; 28 import com.oracle.max.cri.ci.*;
28 29
29 /** 30 /**
30 * Encapsulates the main functionality of the runtime for the compiler, including access 31 * Encapsulates the main functionality of the runtime for the compiler, including access
31 * to constant pools, OSR frames, inlining requirements, and runtime calls such as checkcast. 32 * to constant pools, OSR frames, inlining requirements, and runtime calls such as checkcast.
130 131
131 /** 132 /**
132 * Encodes a deoptimization action and a deoptimization reason in an integer value. 133 * Encodes a deoptimization action and a deoptimization reason in an integer value.
133 * @return the encoded value as an integer 134 * @return the encoded value as an integer
134 */ 135 */
135 int encodeDeoptActionAndReason(CiDeoptAction action, CiDeoptReason reason); 136 int encodeDeoptActionAndReason(CiDeoptAction action, RiDeoptReason reason);
136 137
137 /** 138 /**
138 * Converts a RiDeoptReason into an integer value. 139 * Converts a RiDeoptReason into an integer value.
139 * @return An integer value representing the given RiDeoptReason. 140 * @return An integer value representing the given RiDeoptReason.
140 */ 141 */
141 int convertDeoptReason(CiDeoptReason reason); 142 int convertDeoptReason(RiDeoptReason reason);
142 143
143 /** 144 /**
144 * Converts a RiDeoptAction into an integer value. 145 * Converts a RiDeoptAction into an integer value.
145 * @return An integer value representing the given RiDeoptAction. 146 * @return An integer value representing the given RiDeoptAction.
146 */ 147 */