diff graal/com.oracle.truffle.api/src/com/oracle/truffle/api/frame/FrameSlot.java @ 9258:07f8d136a05e

Truffle API changes for the Frame API. Introduction of Assumptions class.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Tue, 23 Apr 2013 15:34:06 +0200
parents f07cafa29db1
children cd1a1d92b3e3
line wrap: on
line diff
--- a/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/frame/FrameSlot.java	Tue Apr 23 15:08:11 2013 +0200
+++ b/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/frame/FrameSlot.java	Tue Apr 23 15:34:06 2013 +0200
@@ -25,7 +25,7 @@
 /**
  * A slot in a frame that can store a value of a given type.
  */
-public interface FrameSlot {
+public interface FrameSlot extends Cloneable {
 
     Object getIdentifier();
 
@@ -35,5 +35,5 @@
 
     void setType(Class<?> type);
 
-    void registerOneShotTypeListener(FrameSlotTypeListener listener);
+    FrameDescriptor getFrameDescriptor();
 }