mirror of
https://github.com/python/cpython.git
synced 2025-08-22 17:55:18 +00:00
GH-111485: Generate instruction and uop metadata (GH-113287)
This commit is contained in:
parent
a545a86ec6
commit
e96f26083b
27 changed files with 1738 additions and 1269 deletions
|
@ -2258,11 +2258,11 @@ convert_pseudo_ops(basicblock *entryblock)
|
|||
INSTR_SET_OP0(instr, NOP);
|
||||
}
|
||||
else if (instr->i_opcode == LOAD_CLOSURE) {
|
||||
assert(SAME_OPCODE_METADATA(LOAD_CLOSURE, LOAD_FAST));
|
||||
assert(is_pseudo_target(LOAD_CLOSURE, LOAD_FAST));
|
||||
instr->i_opcode = LOAD_FAST;
|
||||
}
|
||||
else if (instr->i_opcode == STORE_FAST_MAYBE_NULL) {
|
||||
assert(SAME_OPCODE_METADATA(STORE_FAST_MAYBE_NULL, STORE_FAST));
|
||||
assert(is_pseudo_target(STORE_FAST_MAYBE_NULL, STORE_FAST));
|
||||
instr->i_opcode = STORE_FAST;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue