diff graal/com.oracle.truffle.api/src/com/oracle/truffle/api/TruffleRuntime.java @ 11934:dca16d6f9d65

TruffleRuntime.createVirtualFrame.
author Chris Seaton <chris.seaton@oracle.com>
date Tue, 08 Oct 2013 00:20:24 +0100
parents 494b818b527c
children ac5b0f31f7a2
line wrap: on
line diff
--- a/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/TruffleRuntime.java	Mon Oct 07 23:16:00 2013 +0200
+++ b/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/TruffleRuntime.java	Tue Oct 08 00:20:24 2013 +0100
@@ -77,6 +77,14 @@
     Assumption createAssumption(String name);
 
     /**
+     * Creates a new virtual frame object that can be used to store values and is potentially
+     * optimizable by the runtime.
+     * 
+     * @return the newly created virtual frame object
+     */
+    VirtualFrame createVirtualFrame(PackedFrame caller, Arguments arguments, FrameDescriptor frameDescriptor);
+
+    /**
      * Creates a new materialized frame object that can be used to store values.
      * 
      * @return the newly created materialized frame object