diff graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/instrument/SLExpressionWrapperNode.java @ 20953:c0455554d45b

SL: some minor simplifications.
author Christian Humer <christian.humer@gmail.com>
date Tue, 14 Apr 2015 15:16:14 +0200
parents 1d6a7ea5de59
children
line wrap: on
line diff
--- a/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/instrument/SLExpressionWrapperNode.java	Tue Apr 14 19:41:36 2015 +0200
+++ b/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/instrument/SLExpressionWrapperNode.java	Tue Apr 14 15:16:14 2015 +0200
@@ -22,8 +22,6 @@
  */
 package com.oracle.truffle.sl.nodes.instrument;
 
-import java.math.*;
-
 import com.oracle.truffle.api.frame.*;
 import com.oracle.truffle.api.instrument.*;
 import com.oracle.truffle.api.instrument.ProbeNode.WrapperNode;
@@ -101,21 +99,11 @@
     }
 
     @Override
-    public BigInteger executeBigInteger(VirtualFrame vFrame) throws UnexpectedResultException {
-        return SLTypesGen.expectBigInteger(executeGeneric(vFrame));
-    }
-
-    @Override
     public boolean executeBoolean(VirtualFrame vFrame) throws UnexpectedResultException {
         return SLTypesGen.expectBoolean(executeGeneric(vFrame));
     }
 
     @Override
-    public String executeString(VirtualFrame vFrame) throws UnexpectedResultException {
-        return SLTypesGen.expectString(executeGeneric(vFrame));
-    }
-
-    @Override
     public SLFunction executeFunction(VirtualFrame vFrame) throws UnexpectedResultException {
         probeNode.enter(child, vFrame);
         SLFunction result;
@@ -130,8 +118,4 @@
         return result;
     }
 
-    @Override
-    public SLNull executeNull(VirtualFrame vFrame) throws UnexpectedResultException {
-        return SLTypesGen.expectSLNull(executeGeneric(vFrame));
-    }
 }