Mercurial > hg > graal-jvmci-8
changeset 18217:0b5aff6214b9
Truffle: checkstyle fixes.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Fri, 31 Oct 2014 00:27:14 +0100 |
parents | 0a72a0f9ef2e |
children | 8588db09f5e9 |
files | graal/com.oracle.graal.truffle/src/com/oracle/graal/truffle/debug/CompilationStatisticsListener.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/debug/CompilationStatisticsListener.java Thu Oct 30 23:56:23 2014 +0100 +++ b/graal/com.oracle.graal.truffle/src/com/oracle/graal/truffle/debug/CompilationStatisticsListener.java Fri Oct 31 00:27:14 2014 +0100 @@ -349,13 +349,13 @@ } else { callCountDirectDispatched++; } - if (decision.getProfile().getCallNode().isCallTargetCloned()) { + if (decision != null && decision.getProfile().getCallNode().isCallTargetCloned()) { callCountDirectCloned++; } else { callCountDirectNotCloned++; } } else if (node instanceof IndirectCallNode) { - callCountDirectInlined++; + callCountIndirect++; } else if (node instanceof LoopNode) { loopCount++; }