Mercurial > hg > truffle
diff graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/SLExpressionNode.java @ 18764:ccb97347d874
SL: adapt SL to type system singleton removal.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Mon, 29 Dec 2014 23:39:07 +0100 |
parents | e3c95cbbb50c |
children | d1c1cd2530d7 |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/SLExpressionNode.java Mon Dec 29 23:39:03 2014 +0100 +++ b/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/SLExpressionNode.java Mon Dec 29 23:39:07 2014 +0100 @@ -67,27 +67,27 @@ */ public long executeLong(VirtualFrame frame) throws UnexpectedResultException { - return SLTypesGen.SLTYPES.expectLong(executeGeneric(frame)); + return SLTypesGen.expectLong(executeGeneric(frame)); } public BigInteger executeBigInteger(VirtualFrame frame) throws UnexpectedResultException { - return SLTypesGen.SLTYPES.expectBigInteger(executeGeneric(frame)); + return SLTypesGen.expectBigInteger(executeGeneric(frame)); } public boolean executeBoolean(VirtualFrame frame) throws UnexpectedResultException { - return SLTypesGen.SLTYPES.expectBoolean(executeGeneric(frame)); + return SLTypesGen.expectBoolean(executeGeneric(frame)); } public String executeString(VirtualFrame frame) throws UnexpectedResultException { - return SLTypesGen.SLTYPES.expectString(executeGeneric(frame)); + return SLTypesGen.expectString(executeGeneric(frame)); } public SLFunction executeFunction(VirtualFrame frame) throws UnexpectedResultException { - return SLTypesGen.SLTYPES.expectSLFunction(executeGeneric(frame)); + return SLTypesGen.expectSLFunction(executeGeneric(frame)); } public SLNull executeNull(VirtualFrame frame) throws UnexpectedResultException { - return SLTypesGen.SLTYPES.expectSLNull(executeGeneric(frame)); + return SLTypesGen.expectSLNull(executeGeneric(frame)); } @Override