Mercurial > hg > truffle
comparison graal/com.oracle.max.cri/src/com/oracle/max/cri/ri/RiRuntime.java @ 5130:ab038e0d6b43
Merge
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Wed, 21 Mar 2012 11:28:22 +0100 |
parents | dad1ac9dba7d |
children | 290b3025b66f |
comparison
equal
deleted
inserted
replaced
5129:51111665eda6 | 5130:ab038e0d6b43 |
---|---|
193 * @param method a method to which the executable code is begin added | 193 * @param method a method to which the executable code is begin added |
194 * @param code the code to be added | 194 * @param code the code to be added |
195 * @return a reference to the compiled and ready-to-run code | 195 * @return a reference to the compiled and ready-to-run code |
196 */ | 196 */ |
197 RiCompiledMethod addMethod(RiResolvedMethod method, CiTargetMethod code); | 197 RiCompiledMethod addMethod(RiResolvedMethod method, CiTargetMethod code); |
198 | |
199 /** | |
200 * Encodes a deoptimization action and a deoptimization reason in an integer value. | |
201 * @return the encoded value as an integer | |
202 */ | |
203 int encodeDeoptActionAndReason(RiDeoptAction action, RiDeoptReason reason); | |
204 | |
205 /** | |
206 * Converts a RiDeoptReason into an integer value. | |
207 * @return An integer value representing the given RiDeoptReason. | |
208 */ | |
209 int convertDeoptReason(RiDeoptReason reason); | |
210 | |
211 /** | |
212 * Converts a RiDeoptAction into an integer value. | |
213 * @return An integer value representing the given RiDeoptAction. | |
214 */ | |
215 int convertDeoptAction(RiDeoptAction action); | |
198 } | 216 } |