|
79 | 79 | case _STORE_FAST: { |
80 | 80 | _Py_UopsPESlot value; |
81 | 81 | value = stack_pointer[-1]; |
| 82 | + value = stack_pointer[-1]; |
82 | 83 | _PyUOpInstruction *origin = sym_get_origin(&value); |
83 | 84 | // Gets rid of things like x = x. |
84 | 85 | if (sym_is_virtual(&value) && |
|
104 | 105 | case _POP_TOP: { |
105 | 106 | _Py_UopsPESlot value; |
106 | 107 | value = stack_pointer[-1]; |
| 108 | + value = stack_pointer[-1]; |
107 | 109 | if (!sym_is_virtual(&value)) { |
108 | 110 | MATERIALIZE_INST(); |
109 | 111 | } |
|
584 | 586 | _Py_UopsPESlot sub; |
585 | 587 | _Py_UopsPESlot container; |
586 | 588 | _Py_UopsPESlot new_frame; |
| 589 | + sub = stack_pointer[-2]; |
| 590 | + container = stack_pointer[-1]; |
587 | 591 | MATERIALIZE_INST(); |
588 | 592 | materialize(&container); |
589 | 593 | materialize(&sub); |
|
731 | 735 | _Py_UopsPESlot retval; |
732 | 736 | _Py_UopsPESlot res; |
733 | 737 | retval = stack_pointer[-1]; |
| 738 | + retval = stack_pointer[-1]; |
734 | 739 | MATERIALIZE_INST(); |
735 | 740 | materialize(&retval); |
736 | 741 | stack_pointer += -1; |
|
801 | 806 | _Py_UopsPESlot v; |
802 | 807 | _Py_UopsPESlot receiver; |
803 | 808 | _Py_UopsPESlot gen_frame; |
| 809 | + v = stack_pointer[0]; |
| 810 | + receiver = stack_pointer[1]; |
804 | 811 | MATERIALIZE_INST(); |
805 | 812 | // We are about to hit the end of the trace: |
806 | 813 | ctx->done = true; |
|
810 | 817 | case _YIELD_VALUE: { |
811 | 818 | _Py_UopsPESlot retval; |
812 | 819 | _Py_UopsPESlot value; |
| 820 | + retval = stack_pointer[-1]; |
813 | 821 | MATERIALIZE_INST(); |
814 | 822 | materialize(&retval); |
815 | 823 | value = sym_new_unknown(ctx); |
|
870 | 878 | _Py_UopsPESlot seq; |
871 | 879 | _Py_UopsPESlot *output; |
872 | 880 | output = &stack_pointer[-1]; |
| 881 | + seq = stack_pointer[-1]; |
873 | 882 | /* This has to be done manually */ |
874 | 883 | MATERIALIZE_INST(); |
875 | 884 | materialize(&seq); |
|
934 | 943 | _Py_UopsPESlot *right; |
935 | 944 | left = &stack_pointer[-1]; |
936 | 945 | right = &stack_pointer[(oparg & 0xFF)]; |
| 946 | + seq = stack_pointer[-1]; |
937 | 947 | /* This has to be done manually */ |
938 | 948 | MATERIALIZE_INST(); |
939 | 949 | materialize(&seq); |
|
1057 | 1067 | _Py_UopsPESlot res; |
1058 | 1068 | _Py_UopsPESlot null = (_Py_UopsPESlot){NULL, 0}; |
1059 | 1069 | uint16_t index = (uint16_t)this_instr->operand; |
| 1070 | + globals_keys = stack_pointer[-1]; |
1060 | 1071 | (void)index; |
1061 | 1072 | MATERIALIZE_INST(); |
1062 | 1073 | materialize(&globals_keys); |
|
1074 | 1085 | _Py_UopsPESlot res; |
1075 | 1086 | _Py_UopsPESlot null = (_Py_UopsPESlot){NULL, 0}; |
1076 | 1087 | uint16_t index = (uint16_t)this_instr->operand; |
| 1088 | + builtins_keys = stack_pointer[-1]; |
1077 | 1089 | (void)index; |
1078 | 1090 | MATERIALIZE_INST(); |
1079 | 1091 | materialize(&builtins_keys); |
|
1526 | 1538 | _Py_UopsPESlot owner; |
1527 | 1539 | _Py_UopsPESlot new_frame; |
1528 | 1540 | PyObject *fget = (PyObject *)this_instr->operand; |
| 1541 | + owner = stack_pointer[-1]; |
1529 | 1542 | MATERIALIZE_INST(); |
1530 | 1543 | materialize(&owner); |
1531 | 1544 | new_frame = (_Py_UopsPESlot){NULL, NULL}; |
|
2010 | 2023 | case _FOR_ITER_GEN_FRAME: { |
2011 | 2024 | _Py_UopsPESlot iter; |
2012 | 2025 | _Py_UopsPESlot gen_frame; |
| 2026 | + iter = stack_pointer[0]; |
2013 | 2027 | MATERIALIZE_INST(); |
2014 | 2028 | /* We are about to hit the end of the trace */ |
2015 | 2029 | ctx->done = true; |
|
2496 | 2510 | case _PUSH_FRAME: { |
2497 | 2511 | _Py_UopsPESlot new_frame; |
2498 | 2512 | new_frame = stack_pointer[-1]; |
| 2513 | + new_frame = stack_pointer[-1]; |
2499 | 2514 | MATERIALIZE_INST(); |
2500 | 2515 | stack_pointer += -1; |
2501 | 2516 | assert(WITHIN_STACK_BOUNDS()); |
|
2971 | 2986 | _Py_UopsPESlot *self_or_null; |
2972 | 2987 | _Py_UopsPESlot *callable; |
2973 | 2988 | _Py_UopsPESlot new_frame; |
| 2989 | + kwnames = stack_pointer[-3 - oparg]; |
2974 | 2990 | args = &stack_pointer[-2 - oparg]; |
2975 | 2991 | self_or_null = &stack_pointer[-2]; |
2976 | 2992 | callable = &stack_pointer[-1]; |
|
0 commit comments