Mercurial > hg > graal-compiler
diff graal/com.oracle.truffle.api/src/com/oracle/truffle/api/nodes/InlinableCallSite.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 | 0097fb11c16f |
children | 494b818b527c |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/nodes/InlinableCallSite.java Wed Jul 17 13:53:11 2013 +0200 +++ b/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/nodes/InlinableCallSite.java Wed Jul 17 14:14:52 2013 +0200 @@ -22,6 +22,8 @@ */ package com.oracle.truffle.api.nodes; +import com.oracle.truffle.api.*; + public interface InlinableCallSite { int getCallCount(); @@ -30,6 +32,7 @@ Node getInlineTree(); - boolean inline(FrameFactory factory); + CallTarget getCallTarget(); + boolean inline(FrameFactory factory); }