diff graal/com.oracle.truffle.api/src/com/oracle/truffle/api/frame/VirtualFrame.java @ 14991:64dcb92ee75a

Truffle: Change signature for Truffle calls from (PackedFrame, Arguments) to (Object[]).
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Sun, 06 Apr 2014 17:46:24 +0200
parents 494b818b527c
children
line wrap: on
line diff
--- a/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/frame/VirtualFrame.java	Sat Apr 05 19:35:30 2014 +0200
+++ b/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/frame/VirtualFrame.java	Sun Apr 06 17:46:24 2014 +0200
@@ -24,23 +24,11 @@
  */
 package com.oracle.truffle.api.frame;
 
-import com.oracle.truffle.api.*;
-
 /**
  * Represents a frame containing values of local variables of the guest language. Instances of this
  * type must not be stored in a field or cast to {@link java.lang.Object}. If this is necessary, the
  * frame must be explicitly converted into a materialized frame using the
- * {@link VirtualFrame#materialize()} method. Whenever fast access to the local variables of a frame
- * is no longer necessary, a virtual frame should be converted into a packed frame using the
- * {@link VirtualFrame#pack()} method.
+ * {@link VirtualFrame#materialize()} method.
  */
 public interface VirtualFrame extends Frame {
-
-    /**
-     * Accesses the caller frame passed in via {@link CallTarget#call}. To get full access, it must
-     * be first unpacked using {@link PackedFrame#unpack()}.
-     * 
-     * @return the caller frame or null if this was a root method call
-     */
-    PackedFrame getCaller();
 }