Mercurial > hg > graal-compiler
comparison 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 |
comparison
equal
deleted
inserted
replaced
9257:542712a4732a | 9258:07f8d136a05e |
---|---|
23 package com.oracle.truffle.api.frame; | 23 package com.oracle.truffle.api.frame; |
24 | 24 |
25 /** | 25 /** |
26 * A slot in a frame that can store a value of a given type. | 26 * A slot in a frame that can store a value of a given type. |
27 */ | 27 */ |
28 public interface FrameSlot { | 28 public interface FrameSlot extends Cloneable { |
29 | 29 |
30 Object getIdentifier(); | 30 Object getIdentifier(); |
31 | 31 |
32 int getIndex(); | 32 int getIndex(); |
33 | 33 |
34 Class<?> getType(); | 34 Class<?> getType(); |
35 | 35 |
36 void setType(Class<?> type); | 36 void setType(Class<?> type); |
37 | 37 |
38 void registerOneShotTypeListener(FrameSlotTypeListener listener); | 38 FrameDescriptor getFrameDescriptor(); |
39 } | 39 } |