Mercurial > hg > truffle
changeset 17445:8cc283ce4bd1
Truffle: fix TraceTruffleCompilationAST.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Tue, 14 Oct 2014 20:02:44 +0200 |
parents | 2834b4432586 |
children | 9a804ec7f707 |
files | graal/com.oracle.graal.truffle/src/com/oracle/graal/truffle/OptimizedCallUtils.java |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.truffle/src/com/oracle/graal/truffle/OptimizedCallUtils.java Tue Oct 14 20:02:44 2014 +0200 +++ b/graal/com.oracle.graal.truffle/src/com/oracle/graal/truffle/OptimizedCallUtils.java Tue Oct 14 20:02:44 2014 +0200 @@ -45,7 +45,7 @@ public boolean visit(List<TruffleInlining> decisionStack, Node node) { if (node == null) { - return false; + return true; } int level = CallTreeNodeVisitor.getNodeDepth(decisionStack, node); for (int i = 0; i < level; i++) { @@ -79,7 +79,7 @@ p.println(node.getClass().getSimpleName()); } p.flush(); - return false; + return true; } }, true);