GH-121131: Clean up and fix some instrumented instructions. (GH-121132)
* Add support for 'prev_instr' to code generator and refactor some INSTRUMENTED instructions
This commit is contained in:
8
Python/optimizer_cases.c.h
generated
8
Python/optimizer_cases.c.h
generated
@@ -621,10 +621,6 @@
|
||||
break;
|
||||
}
|
||||
|
||||
/* _INSTRUMENTED_RETURN_VALUE is not a viable micro-op for tier 2 */
|
||||
|
||||
/* _INSTRUMENTED_RETURN_CONST is not a viable micro-op for tier 2 */
|
||||
|
||||
case _GET_AITER: {
|
||||
_Py_UopsSymbol *iter;
|
||||
iter = sym_new_not_null(ctx);
|
||||
@@ -656,8 +652,6 @@
|
||||
break;
|
||||
}
|
||||
|
||||
/* _INSTRUMENTED_YIELD_VALUE is not a viable micro-op for tier 2 */
|
||||
|
||||
case _YIELD_VALUE: {
|
||||
_Py_UopsSymbol *res;
|
||||
res = sym_new_unknown(ctx);
|
||||
@@ -2056,6 +2050,8 @@
|
||||
break;
|
||||
}
|
||||
|
||||
/* _INSTRUMENTED_LINE is not a viable micro-op for tier 2 */
|
||||
|
||||
/* _INSTRUMENTED_INSTRUCTION is not a viable micro-op for tier 2 */
|
||||
|
||||
/* _INSTRUMENTED_JUMP_FORWARD is not a viable micro-op for tier 2 */
|
||||
|
||||
Reference in New Issue
Block a user