Skip to content

Commit d445958

Browse files
committed
Unbox variables with no loads
1 parent 1c57320 commit d445958

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/compiler/CompilationUnit.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ public BytecodeCodeUnit assemble() {
335335
for (int j = 0; j < stores.size(); j++) {
336336
generalizeVarsValues[generalizeVarsIndex++] = stores.get(j).bodyBci();
337337
}
338-
if (boxingMetric[i] <= 0) {
338+
if (boxingMetric[i] < 0) {
339339
shouldUnboxVariable[i] = 0;
340340
}
341341
}

0 commit comments

Comments
 (0)