Skip to content

Commit e715dac

Browse files
committed
review comments
1 parent 8615577 commit e715dac

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Python/optimizer_bytecodes.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ dummy_func(void) {
280280
}
281281
else if ((oparg == NB_TRUE_DIVIDE || oparg == NB_INPLACE_TRUE_DIVIDE)
282282
&& (lhs_int || lhs_float) && (rhs_int || rhs_float)) {
283-
res = sym_new_type(ctx, &PyFloat_Type);
283+
res = PyJitRef_MakeUnique(sym_new_type(ctx, &PyFloat_Type));
284284
}
285285
else if (!((lhs_int || lhs_float) && (rhs_int || rhs_float))) {
286286
// There's something other than an int or float involved:

Python/optimizer_cases.c.h

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)