mirror of
https://github.com/python/cpython.git
synced 2025-10-17 04:08:28 +00:00
GH-105229: Replace some superinstructions with single instruction equivalent. (GH-105230)
This commit is contained in:
parent
e8ecb9ee6b
commit
0689340366
17 changed files with 731 additions and 686 deletions
|
@ -1488,10 +1488,7 @@ update_instrumentation_data(PyCodeObject *code, PyInterpreterState *interp)
|
|||
}
|
||||
|
||||
static const uint8_t super_instructions[256] = {
|
||||
[LOAD_FAST__LOAD_FAST] = 1,
|
||||
[LOAD_FAST__LOAD_CONST] = 1,
|
||||
[STORE_FAST__LOAD_FAST] = 1,
|
||||
[STORE_FAST__STORE_FAST] = 1,
|
||||
[LOAD_CONST__LOAD_FAST] = 1,
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue