Mercurial > hg > graal-compiler
comparison 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 |
comparison
equal
deleted
inserted
replaced
13984:1c9dbfc5b510 | 13985:5243fe9a3fbc |
---|---|
51 */ | 51 */ |
52 @Child private SLAbstractDispatchNode nextNode; | 52 @Child private SLAbstractDispatchNode nextNode; |
53 | 53 |
54 protected SLDirectDispatchNode(SLAbstractDispatchNode next, SLFunction cachedFunction) { | 54 protected SLDirectDispatchNode(SLAbstractDispatchNode next, SLFunction cachedFunction) { |
55 this.cachedFunction = cachedFunction; | 55 this.cachedFunction = cachedFunction; |
56 this.callCachedTargetNode = adoptChild(CallNode.create(cachedFunction.getCallTarget())); | 56 this.callCachedTargetNode = adoptChild(Truffle.getRuntime().createCallNode(cachedFunction.getCallTarget())); |
57 this.cachedTargetStable = cachedFunction.getCallTargetStable(); | 57 this.cachedTargetStable = cachedFunction.getCallTargetStable(); |
58 this.nextNode = adoptChild(next); | 58 this.nextNode = adoptChild(next); |
59 } | 59 } |
60 | 60 |
61 /** | 61 /** |