Mercurial > hg > graal-compiler
diff graal/com.oracle.graal.truffle/src/com/oracle/graal/truffle/OptimizedCallTarget.java @ 15168:78530cbd8940
Truffle: Make OptimizedCallTarget itself an InstalledCode object.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Wed, 16 Apr 2014 18:57:14 +0200 |
parents | 258e3e0b5e2e |
children | 19a98af07b63 |
line wrap: on
line diff
--- a/graal/com.oracle.graal.truffle/src/com/oracle/graal/truffle/OptimizedCallTarget.java Wed Apr 16 18:51:54 2014 +0200 +++ b/graal/com.oracle.graal.truffle/src/com/oracle/graal/truffle/OptimizedCallTarget.java Wed Apr 16 18:57:14 2014 +0200 @@ -42,7 +42,6 @@ protected static final PrintStream OUT = TTY.out().out(); - protected InstalledCode installedCode; protected boolean compilationEnabled; protected int callCount; protected boolean inliningPerformed; @@ -61,7 +60,6 @@ this.rootNode = rootNode; this.rootNode.adoptChildren(); this.rootNode.setCallTarget(this); - this.installedCode = new InstalledCode(); this.compilationEnabled = compilationEnabled; this.compilationPolicy = compilationPolicy; this.compilationProfile = new CompilationProfile(compilationThreshold, invokeCounter, rootNode.toString()); @@ -102,7 +100,7 @@ @Override public String toString() { String superString = rootNode.toString(); - if (installedCode.isValid()) { + if (isValid()) { superString += " <compiled>"; } if (splitSource != null) {