comparison graal/com.oracle.max.cri/src/com/oracle/max/cri/ri/RiRuntime.java @ 4319:3c21eee8ab4d

Add installMethodCallback() to HotSpotRuntime. Re-add tail call node and opcode.
author Andreas Woess <andreas.woess@jku.at>
date Tue, 24 Jan 2012 19:17:28 +0100
parents 744dade427b8
children dad1ac9dba7d
comparison
equal deleted inserted replaced
4315:4c223446c28e 4319:3c21eee8ab4d
184 * Installs some given machine code as the implementation of a given method. 184 * Installs some given machine code as the implementation of a given method.
185 * 185 *
186 * @param method a method whose executable code is being modified 186 * @param method a method whose executable code is being modified
187 * @param code the code to be executed when {@code method} is called 187 * @param code the code to be executed when {@code method} is called
188 */ 188 */
189 void installMethod(RiMethod method, CiTargetMethod code); 189 void installMethod(RiResolvedMethod method, CiTargetMethod code);
190 190
191 /** 191 /**
192 * Adds the given machine code as an implementation of the given method without making it the default implementation. 192 * Adds the given machine code as an implementation of the given method without making it the default implementation.
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