Mercurial > hg > graal-compiler
diff graal/com.oracle.truffle.api/src/com/oracle/truffle/api/impl/DefaultMaterializedFrame.java @ 12643:856a9864ed93
Frame: add is<Type> methods.
author | Andreas Woess <andreas.woess@jku.at> |
---|---|
date | Wed, 30 Oct 2013 20:01:50 +0100 |
parents | 139b84d713bc |
children | a12017c18d5d |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/impl/DefaultMaterializedFrame.java Wed Oct 30 17:31:13 2013 +0100 +++ b/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/impl/DefaultMaterializedFrame.java Wed Oct 30 20:01:50 2013 +0100 @@ -136,7 +136,37 @@ } @Override - public boolean isInitialized(FrameSlot slot) { - return wrapped.isInitialized(slot); + public boolean isObject(FrameSlot slot) { + return wrapped.isObject(slot); + } + + @Override + public boolean isByte(FrameSlot slot) { + return wrapped.isByte(slot); + } + + @Override + public boolean isBoolean(FrameSlot slot) { + return wrapped.isBoolean(slot); + } + + @Override + public boolean isInt(FrameSlot slot) { + return wrapped.isInt(slot); + } + + @Override + public boolean isLong(FrameSlot slot) { + return wrapped.isLong(slot); + } + + @Override + public boolean isFloat(FrameSlot slot) { + return wrapped.isFloat(slot); + } + + @Override + public boolean isDouble(FrameSlot slot) { + return wrapped.isDouble(slot); } }