diff graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/bridge/CompilerToVM.java @ 5246:8bf2c37c46c4

added RiCompiledMethod.executeVarargs(Object...) to support compiling and calling arbitrary Java methods
author Doug Simon <doug.simon@oracle.com>
date Tue, 17 Apr 2012 13:52:38 +0200
parents cce31bc56c00
children 290b3025b66f
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/bridge/CompilerToVM.java	Tue Apr 17 13:38:28 2012 +0200
+++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/bridge/CompilerToVM.java	Tue Apr 17 13:52:38 2012 +0200
@@ -113,6 +113,8 @@
 
     Object executeCompiledMethod(HotSpotCompiledMethod method, Object arg1, Object arg2, Object arg3);
 
+    Object executeCompiledMethodVarargs(HotSpotCompiledMethod method, Object... args);
+
     int RiMethod_vtableEntryOffset(HotSpotMethodResolved method);
 
     long[] getDeoptedLeafGraphIds();