Skip to content

Commit 2239f80

Browse files
committed
Fix: profile was not final.
1 parent 6350234 commit 2239f80

File tree

1 file changed

+1
-1
lines changed
  • graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/ints

1 file changed

+1
-1
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/ints/IntBuiltins.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ protected List<? extends NodeFactory<? extends PythonBuiltinBaseNode>> getNodeFa
8484
}
8585

8686
private abstract static class IntBinaryBuiltinNode extends PythonBinaryBuiltinNode {
87-
BranchProfile divisionByZeroProfile = BranchProfile.create();
87+
private final BranchProfile divisionByZeroProfile = BranchProfile.create();
8888

8989
protected void raiseDivisionByZero(boolean cond) {
9090
if (cond) {

0 commit comments

Comments
 (0)