Mercurial > hg > graal-compiler
diff graal/com.oracle.graal.truffle/src/com/oracle/graal/truffle/debug/AbstractDebugCompilationListener.java @ 18206:35639ec046d7
Truffle: extract methods from OptimizedCallUtils and remove it.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Mon, 27 Oct 2014 17:37:45 +0100 |
parents | a1873eefea65 |
children | 881aa0ed3904 |
line wrap: on
line diff
--- a/graal/com.oracle.graal.truffle/src/com/oracle/graal/truffle/debug/AbstractDebugCompilationListener.java Mon Oct 27 17:34:08 2014 +0100 +++ b/graal/com.oracle.graal.truffle/src/com/oracle/graal/truffle/debug/AbstractDebugCompilationListener.java Mon Oct 27 17:37:45 2014 +0100 @@ -70,7 +70,7 @@ } public static void addASTSizeProperty(OptimizedCallTarget target, Map<String, Object> properties) { - int nodeCount = OptimizedCallUtils.countNonTrivialNodes(target, false); + int nodeCount = target.countNonTrivialNodes(false); int deepNodeCount = nodeCount; TruffleInlining inlining = target.getInlining(); if (inlining != null) {