Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.api/src/com/oracle/truffle/api/impl/DefaultCallTarget.java @ 10794:3fe325c3f31c
Truffle: add InlinedCallSite interface and an InlinableCallSite method to query the inlined call target
author | Andreas Woess <andreas.woess@jku.at> |
---|---|
date | Wed, 17 Jul 2013 14:14:52 +0200 |
parents | 07f8d136a05e |
children | 494b818b527c |
comparison
equal
deleted
inserted
replaced
10793:6e12e0ace0d5 | 10794:3fe325c3f31c |
---|---|
37 this.rootNode.setCallTarget(this); | 37 this.rootNode.setCallTarget(this); |
38 } | 38 } |
39 | 39 |
40 @Override | 40 @Override |
41 public String toString() { | 41 public String toString() { |
42 return "CallTarget " + rootNode; | 42 return rootNode.toString(); |
43 } | 43 } |
44 | 44 |
45 @Override | 45 @Override |
46 public Object call(PackedFrame caller, Arguments args) { | 46 public Object call(PackedFrame caller, Arguments args) { |
47 VirtualFrame frame = new DefaultVirtualFrame(frameDescriptor, caller, args); | 47 VirtualFrame frame = new DefaultVirtualFrame(frameDescriptor, caller, args); |