# HG changeset patch # User Thomas Wuerthinger # Date 1338571648 -7200 # Node ID 5134cd2f25ed57f4d45f467f785dc4bd97b61991 # Parent fa979ebe01861dfabd411bc89d25925a91999ed5 Remove installMethod from RiMethod. diff -r fa979ebe0186 -r 5134cd2f25ed graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/ri/HotSpotRuntime.java --- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/ri/HotSpotRuntime.java Fri Jun 01 16:54:27 2012 +0200 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/ri/HotSpotRuntime.java Fri Jun 01 19:27:28 2012 +0200 @@ -479,7 +479,6 @@ return hsInfo; } - @Override public void installMethod(RiResolvedMethod method, CiTargetMethod code, RiCodeInfo[] info) { HotSpotCodeInfo hsInfo = makeInfo(method, code, info); compiler.getCompilerToVM().installMethod(new HotSpotTargetMethod(compiler, (HotSpotMethodResolved) method, code), true, hsInfo); diff -r fa979ebe0186 -r 5134cd2f25ed graal/com.oracle.max.cri/src/com/oracle/max/cri/ri/RiRuntime.java --- a/graal/com.oracle.max.cri/src/com/oracle/max/cri/ri/RiRuntime.java Fri Jun 01 16:54:27 2012 +0200 +++ b/graal/com.oracle.max.cri/src/com/oracle/max/cri/ri/RiRuntime.java Fri Jun 01 19:27:28 2012 +0200 @@ -119,16 +119,6 @@ RiResolvedMethod getRiMethod(Method reflectionMethod); /** - * Installs some given machine code as the implementation of a given method. - * - * @param method a method whose executable code is being modified - * @param code the code to be executed when {@code method} is called - * @param info the object into which details of the installed code will be written. - * Ignored if null, otherwise the info is written to index 0 of this array. - */ - void installMethod(RiResolvedMethod method, CiTargetMethod code, RiCodeInfo[] info); - - /** * Adds the given machine code as an implementation of the given method without making it the default implementation. * @param method a method to which the executable code is begin added * @param code the code to be added