mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
GH-130415: Improve the JIT's unneeded uop removal pass (GH-132333)
This commit is contained in:
parent
9be3645688
commit
4f7f72ce34
5 changed files with 46 additions and 18 deletions
|
@ -912,6 +912,7 @@ dummy_func(void) {
|
|||
}
|
||||
|
||||
op(_REPLACE_WITH_TRUE, (value -- res)) {
|
||||
REPLACE_OP(this_instr, _POP_TOP_LOAD_CONST_INLINE_BORROW, 0, (uintptr_t)Py_True);
|
||||
res = sym_new_const(ctx, Py_True);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue