Mercurial > hg > truffle
diff graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/SLExpressionNode.java @ 13883:ff3136ecb5a7
SL: small changes
author | Christian Wimmer <christian.wimmer@oracle.com> |
---|---|
date | Wed, 05 Feb 2014 03:16:21 -0800 |
parents | b16ec83edc73 |
children | f3a5036cc13c |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/SLExpressionNode.java Wed Feb 05 09:32:30 2014 +0100 +++ b/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/SLExpressionNode.java Wed Feb 05 03:16:21 2014 -0800 @@ -58,10 +58,6 @@ * subclasses overwrite the appropriate methods. */ - public boolean executeBoolean(VirtualFrame frame) throws UnexpectedResultException { - return SLTypesGen.SLTYPES.expectBoolean(executeGeneric(frame)); - } - public long executeLong(VirtualFrame frame) throws UnexpectedResultException { return SLTypesGen.SLTYPES.expectLong(executeGeneric(frame)); } @@ -70,6 +66,10 @@ return SLTypesGen.SLTYPES.expectBigInteger(executeGeneric(frame)); } + public boolean executeBoolean(VirtualFrame frame) throws UnexpectedResultException { + return SLTypesGen.SLTYPES.expectBoolean(executeGeneric(frame)); + } + public String executeString(VirtualFrame frame) throws UnexpectedResultException { return SLTypesGen.SLTYPES.expectString(executeGeneric(frame)); }