comparison graal/com.oracle.max.cri/src/com/oracle/max/cri/ri/RiRuntime.java @ 5493:5134cd2f25ed

Remove installMethod from RiMethod.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Fri, 01 Jun 2012 19:27:28 +0200
parents 044502e7b5a4
children d89b20486d87
comparison
equal deleted inserted replaced
5472:fa979ebe0186 5493:5134cd2f25ed
117 * Provides the {@link RiMethod} for a {@link Method} obtained via reflection. 117 * Provides the {@link RiMethod} for a {@link Method} obtained via reflection.
118 */ 118 */
119 RiResolvedMethod getRiMethod(Method reflectionMethod); 119 RiResolvedMethod getRiMethod(Method reflectionMethod);
120 120
121 /** 121 /**
122 * Installs some given machine code as the implementation of a given method.
123 *
124 * @param method a method whose executable code is being modified
125 * @param code the code to be executed when {@code method} is called
126 * @param info the object into which details of the installed code will be written.
127 * Ignored if null, otherwise the info is written to index 0 of this array.
128 */
129 void installMethod(RiResolvedMethod method, CiTargetMethod code, RiCodeInfo[] info);
130
131 /**
132 * Adds the given machine code as an implementation of the given method without making it the default implementation. 122 * Adds the given machine code as an implementation of the given method without making it the default implementation.
133 * @param method a method to which the executable code is begin added 123 * @param method a method to which the executable code is begin added
134 * @param code the code to be added 124 * @param code the code to be added
135 * @param info the object into which details of the installed code will be written. 125 * @param info the object into which details of the installed code will be written.
136 * Ignored if null, otherwise the info is written to index 0 of this array. 126 * Ignored if null, otherwise the info is written to index 0 of this array.