# HG changeset patch # User Christian Humer # Date 1414711634 -3600 # Node ID 0b5aff6214b91c65b8c2ebc829622f33a015bf67 # Parent 0a72a0f9ef2eed7d9a7f180a27b9d32a11a59557 Truffle: checkstyle fixes. diff -r 0a72a0f9ef2e -r 0b5aff6214b9 graal/com.oracle.graal.truffle/src/com/oracle/graal/truffle/debug/CompilationStatisticsListener.java --- 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++; }