Mercurial > hg > graal-compiler
changeset 22186:652d8bc53ef9
ReadOnlyFrame methods are not intended to be Truffle compiled
author | Christian Wimmer <christian.wimmer@oracle.com> |
---|---|
date | Wed, 08 Jul 2015 10:11:49 -0700 |
parents | 1497b15e3a5d |
children | dab8fbc8ba43 |
files | graal/com.oracle.graal.truffle/src/com/oracle/graal/truffle/ReadOnlyFrame.java |
diffstat | 1 files changed, 26 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.truffle/src/com/oracle/graal/truffle/ReadOnlyFrame.java Wed Jul 08 10:11:09 2015 -0700 +++ b/graal/com.oracle.graal.truffle/src/com/oracle/graal/truffle/ReadOnlyFrame.java Wed Jul 08 10:11:49 2015 -0700 @@ -24,6 +24,7 @@ import jdk.internal.jvmci.common.*; +import com.oracle.truffle.api.CompilerDirectives.TruffleBoundary; import com.oracle.truffle.api.frame.*; class ReadOnlyFrame implements Frame { @@ -33,102 +34,127 @@ this.delegate = delegate; } + @TruffleBoundary public FrameDescriptor getFrameDescriptor() { return delegate.getFrameDescriptor(); } + @TruffleBoundary public Object[] getArguments() { return delegate.getArguments().clone(); } + @TruffleBoundary public Object getObject(FrameSlot slot) throws FrameSlotTypeException { return delegate.getObject(slot); } + @TruffleBoundary public void setObject(FrameSlot slot, Object value) { throw JVMCIError.shouldNotReachHere(); } + @TruffleBoundary public byte getByte(FrameSlot slot) throws FrameSlotTypeException { return delegate.getByte(slot); } + @TruffleBoundary public void setByte(FrameSlot slot, byte value) { throw JVMCIError.shouldNotReachHere(); } + @TruffleBoundary public boolean getBoolean(FrameSlot slot) throws FrameSlotTypeException { return delegate.getBoolean(slot); } + @TruffleBoundary public void setBoolean(FrameSlot slot, boolean value) { throw JVMCIError.shouldNotReachHere(); } + @TruffleBoundary public int getInt(FrameSlot slot) throws FrameSlotTypeException { return delegate.getInt(slot); } + @TruffleBoundary public void setInt(FrameSlot slot, int value) { throw JVMCIError.shouldNotReachHere(); } + @TruffleBoundary public long getLong(FrameSlot slot) throws FrameSlotTypeException { return delegate.getLong(slot); } + @TruffleBoundary public void setLong(FrameSlot slot, long value) { throw JVMCIError.shouldNotReachHere(); } + @TruffleBoundary public float getFloat(FrameSlot slot) throws FrameSlotTypeException { return delegate.getFloat(slot); } + @TruffleBoundary public void setFloat(FrameSlot slot, float value) { throw JVMCIError.shouldNotReachHere(); } + @TruffleBoundary public double getDouble(FrameSlot slot) throws FrameSlotTypeException { return delegate.getDouble(slot); } + @TruffleBoundary public void setDouble(FrameSlot slot, double value) { throw JVMCIError.shouldNotReachHere(); } + @TruffleBoundary public Object getValue(FrameSlot slot) { return delegate.getValue(slot); } + @TruffleBoundary public MaterializedFrame materialize() { throw JVMCIError.shouldNotReachHere(); } + @TruffleBoundary public boolean isObject(FrameSlot slot) { return delegate.isObject(slot); } + @TruffleBoundary public boolean isByte(FrameSlot slot) { return delegate.isByte(slot); } + @TruffleBoundary public boolean isBoolean(FrameSlot slot) { return delegate.isBoolean(slot); } + @TruffleBoundary public boolean isInt(FrameSlot slot) { return delegate.isInt(slot); } + @TruffleBoundary public boolean isLong(FrameSlot slot) { return delegate.isLong(slot); } + @TruffleBoundary public boolean isFloat(FrameSlot slot) { return delegate.isFloat(slot); } + @TruffleBoundary public boolean isDouble(FrameSlot slot) { return delegate.isDouble(slot); }