Skip to content

Commit 90a42db

Browse files
committed
Fix crash
1 parent 2920f08 commit 90a42db

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Python/optimizer_bytecodes.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,9 +211,9 @@ dummy_func(void) {
211211
}
212212

213213
op(_BINARY_OP, (lhs, rhs -- res, l, r)) {
214-
REPLACE_OPCODE_IF_EVALUATES_PURE(lhs, rhs, res);
215214
l = lhs;
216215
r = rhs;
216+
REPLACE_OPCODE_IF_EVALUATES_PURE(lhs, rhs, res);
217217
bool lhs_int = sym_matches_type(lhs, &PyLong_Type);
218218
bool rhs_int = sym_matches_type(rhs, &PyLong_Type);
219219
bool lhs_float = sym_matches_type(lhs, &PyFloat_Type);

Python/optimizer_cases.c.h

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)