Skip to content

Commit a1a9b6b

Browse files
committed
bug
1 parent 45dc98d commit a1a9b6b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

substratevm/src/com.oracle.svm.hosted/src/com/oracle/svm/hosted/phases/InlineBeforeAnalysisPolicyUtils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,8 @@ public boolean allowAbort() {
211211
public void commitCalleeScope(InlineBeforeAnalysisPolicy.AbstractPolicyScope callee) {
212212
AccumulativeInlineScope calleeScope = (AccumulativeInlineScope) callee;
213213
assert accumulativeCounters == calleeScope.accumulativeCounters;
214-
accumulativeCounters.numNodes -= calleeScope.numNodes;
215-
accumulativeCounters.numInvokes -= calleeScope.numInvokes;
214+
numNodes += calleeScope.numNodes;
215+
numInvokes += calleeScope.numInvokes;
216216
}
217217

218218
@Override

0 commit comments

Comments
 (0)