Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.api/src/com/oracle/truffle/api/impl/DefaultMaterializedFrame.java @ 12405:139b84d713bc
Truffle API adjustments: Simplify frame handling. Introduce cast for MaterializedFrame objects.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Mon, 14 Oct 2013 23:28:10 +0200 |
parents | 269e6794e1ec |
children | 856a9864ed93 |
comparison
equal
deleted
inserted
replaced
12404:47eb670c1634 | 12405:139b84d713bc |
---|---|
54 public byte getByte(FrameSlot slot) throws FrameSlotTypeException { | 54 public byte getByte(FrameSlot slot) throws FrameSlotTypeException { |
55 return wrapped.getByte(slot); | 55 return wrapped.getByte(slot); |
56 } | 56 } |
57 | 57 |
58 @Override | 58 @Override |
59 public void setByte(FrameSlot slot, byte value) throws FrameSlotTypeException { | 59 public void setByte(FrameSlot slot, byte value) { |
60 wrapped.setByte(slot, value); | 60 wrapped.setByte(slot, value); |
61 } | 61 } |
62 | 62 |
63 @Override | 63 @Override |
64 public boolean getBoolean(FrameSlot slot) throws FrameSlotTypeException { | 64 public boolean getBoolean(FrameSlot slot) throws FrameSlotTypeException { |
65 return wrapped.getBoolean(slot); | 65 return wrapped.getBoolean(slot); |
66 } | 66 } |
67 | 67 |
68 @Override | 68 @Override |
69 public void setBoolean(FrameSlot slot, boolean value) throws FrameSlotTypeException { | 69 public void setBoolean(FrameSlot slot, boolean value) { |
70 wrapped.setBoolean(slot, value); | 70 wrapped.setBoolean(slot, value); |
71 } | 71 } |
72 | 72 |
73 @Override | 73 @Override |
74 public int getInt(FrameSlot slot) throws FrameSlotTypeException { | 74 public int getInt(FrameSlot slot) throws FrameSlotTypeException { |
75 return wrapped.getInt(slot); | 75 return wrapped.getInt(slot); |
76 } | 76 } |
77 | 77 |
78 @Override | 78 @Override |
79 public void setInt(FrameSlot slot, int value) throws FrameSlotTypeException { | 79 public void setInt(FrameSlot slot, int value) { |
80 wrapped.setInt(slot, value); | 80 wrapped.setInt(slot, value); |
81 } | 81 } |
82 | 82 |
83 @Override | 83 @Override |
84 public long getLong(FrameSlot slot) throws FrameSlotTypeException { | 84 public long getLong(FrameSlot slot) throws FrameSlotTypeException { |
85 return wrapped.getLong(slot); | 85 return wrapped.getLong(slot); |
86 } | 86 } |
87 | 87 |
88 @Override | 88 @Override |
89 public void setLong(FrameSlot slot, long value) throws FrameSlotTypeException { | 89 public void setLong(FrameSlot slot, long value) { |
90 wrapped.setLong(slot, value); | 90 wrapped.setLong(slot, value); |
91 } | 91 } |
92 | 92 |
93 @Override | 93 @Override |
94 public float getFloat(FrameSlot slot) throws FrameSlotTypeException { | 94 public float getFloat(FrameSlot slot) throws FrameSlotTypeException { |
95 return wrapped.getFloat(slot); | 95 return wrapped.getFloat(slot); |
96 } | 96 } |
97 | 97 |
98 @Override | 98 @Override |
99 public void setFloat(FrameSlot slot, float value) throws FrameSlotTypeException { | 99 public void setFloat(FrameSlot slot, float value) { |
100 wrapped.setFloat(slot, value); | 100 wrapped.setFloat(slot, value); |
101 } | 101 } |
102 | 102 |
103 @Override | 103 @Override |
104 public double getDouble(FrameSlot slot) throws FrameSlotTypeException { | 104 public double getDouble(FrameSlot slot) throws FrameSlotTypeException { |
105 return wrapped.getDouble(slot); | 105 return wrapped.getDouble(slot); |
106 } | 106 } |
107 | 107 |
108 @Override | 108 @Override |
109 public void setDouble(FrameSlot slot, double value) throws FrameSlotTypeException { | 109 public void setDouble(FrameSlot slot, double value) { |
110 wrapped.setDouble(slot, value); | 110 wrapped.setDouble(slot, value); |
111 } | 111 } |
112 | 112 |
113 @Override | 113 @Override |
114 public Object getValue(FrameSlot slot) { | 114 public Object getValue(FrameSlot slot) { |