| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -55,11 +55,6 @@ extern "C" { | |||
| 55 | 55 | (opcode) == RAISE_VARARGS || \ | |
| 56 | 56 | (opcode) == RERAISE) | |
| 57 | 57 | ||
| 58 | - #define IS_SUPERINSTRUCTION_OPCODE(opcode) \ | ||
| 59 | - ((opcode) == LOAD_FAST__LOAD_CONST || \ | ||
| 60 | - (opcode) == LOAD_CONST__LOAD_FAST) | ||
| 61 | - | ||
| 62 | - | ||
| 63 | 58 | #define LOG_BITS_PER_INT 5 | |
| 64 | 59 | #define MASK_LOW_LOG_BITS 31 | |
| 65 | 60 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -409,12 +409,6 @@ def pseudo_op(name, op, real_ops): | |||
| 409 | 409 | "LOAD_ATTR_METHOD_NO_DICT", | |
| 410 | 410 | "LOAD_ATTR_METHOD_WITH_VALUES", | |
| 411 | 411 | ], | |
| 412 | - "LOAD_CONST": [ | ||
| 413 | - "LOAD_CONST__LOAD_FAST", | ||
| 414 | - ], | ||
| 415 | - "LOAD_FAST": [ | ||
| 416 | - "LOAD_FAST__LOAD_CONST", | ||
| 417 | - ], | ||
| 418 | 412 | "LOAD_GLOBAL": [ | |
| 419 | 413 | "LOAD_GLOBAL_BUILTIN", | |
| 420 | 414 | "LOAD_GLOBAL_MODULE", | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,3 @@ | |||
| 1 | + Remove remaining two-codeunit superinstructions. All remaining | ||
| 2 | + superinstructions only take a single codeunit, simplifying instrumentation | ||
| 3 | + and quickening. | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -233,9 +233,6 @@ dummy_func( | |||
| 233 | 233 | SETLOCAL(oparg2, value2); | |
| 234 | 234 | } | |
| 235 | 235 | ||
| 236 | - super(LOAD_FAST__LOAD_CONST) = LOAD_FAST + LOAD_CONST; | ||
| 237 | - super(LOAD_CONST__LOAD_FAST) = LOAD_CONST + LOAD_FAST; | ||
| 238 | - | ||
| 239 | 236 | inst(POP_TOP, (value --)) { | |
| 240 | 237 | DECREF_INPUTS(); | |
| 241 | 238 | } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1676,7 +1676,6 @@ scan_block_for_locals(basicblock *b, basicblock ***sp) | |||
| 1676 | 1676 | for (int i = 0; i < b->b_iused; i++) { | |
| 1677 | 1677 | cfg_instr *instr = &b->b_instr[i]; | |
| 1678 | 1678 | assert(instr->i_opcode != EXTENDED_ARG); | |
| 1679 | - assert(!IS_SUPERINSTRUCTION_OPCODE(instr->i_opcode)); | ||
| 1680 | 1679 | if (instr->i_except != NULL) { | |
| 1681 | 1680 | maybe_push(instr->i_except, unsafe_mask, sp); | |
| 1682 | 1681 | } | |
@@ -1735,7 +1734,6 @@ fast_scan_many_locals(basicblock *entryblock, int nlocals) | |||
| 1735 | 1734 | for (int i = 0; i < b->b_iused; i++) { | |
| 1736 | 1735 | cfg_instr *instr = &b->b_instr[i]; | |
| 1737 | 1736 | assert(instr->i_opcode != EXTENDED_ARG); | |
| 1738 | - assert(!IS_SUPERINSTRUCTION_OPCODE(instr->i_opcode)); | ||
| 1739 | 1737 | int arg = instr->i_oparg; | |
| 1740 | 1738 | if (arg < 64) { | |
| 1741 | 1739 | continue; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments