diff graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/call/SLDirectDispatchNode.java @ 13985:5243fe9a3fbc

SL: adaptions for SL to new inlining API.
author Christian Humer <christian.humer@gmail.com>
date Thu, 20 Feb 2014 01:43:51 +0100
parents 64c77f0577bb
children a08b8694f556
line wrap: on
line diff
--- a/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/call/SLDirectDispatchNode.java	Thu Feb 20 01:43:11 2014 +0100
+++ b/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/call/SLDirectDispatchNode.java	Thu Feb 20 01:43:51 2014 +0100
@@ -53,7 +53,7 @@
 
     protected SLDirectDispatchNode(SLAbstractDispatchNode next, SLFunction cachedFunction) {
         this.cachedFunction = cachedFunction;
-        this.callCachedTargetNode = adoptChild(CallNode.create(cachedFunction.getCallTarget()));
+        this.callCachedTargetNode = adoptChild(Truffle.getRuntime().createCallNode(cachedFunction.getCallTarget()));
         this.cachedTargetStable = cachedFunction.getCallTargetStable();
         this.nextNode = adoptChild(next);
     }