summaryrefslogtreecommitdiffstats
path: root/Python/opcode_targets.h
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2024-07-26 11:24:12 (GMT)
committerGitHub <noreply@github.com>2024-07-26 11:24:12 (GMT)
commitafb0aa6ed20bd8e982ecb307f12923cf8dbccd8c (patch)
tree222f3075796f8167442bcc744c52efe3c7c8eaa5 /Python/opcode_targets.h
parentd9efa45d7457b0dfea467bb1c2d22c69056ffc73 (diff)
downloadcpython-afb0aa6ed20bd8e982ecb307f12923cf8dbccd8c.zip
cpython-afb0aa6ed20bd8e982ecb307f12923cf8dbccd8c.tar.gz
cpython-afb0aa6ed20bd8e982ecb307f12923cf8dbccd8c.tar.bz2
GH-121131: Clean up and fix some instrumented instructions. (GH-121132)
* Add support for 'prev_instr' to code generator and refactor some INSTRUMENTED instructions
Diffstat (limited to 'Python/opcode_targets.h')
-rw-r--r--Python/opcode_targets.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Python/opcode_targets.h b/Python/opcode_targets.h
index 74544a1..224aeb8 100644
--- a/Python/opcode_targets.h
+++ b/Python/opcode_targets.h
@@ -238,9 +238,6 @@ static void *opcode_targets[256] = {
&&TARGET_INSTRUMENTED_RESUME,
&&TARGET_INSTRUMENTED_END_FOR,
&&TARGET_INSTRUMENTED_END_SEND,
- &&TARGET_INSTRUMENTED_RETURN_VALUE,
- &&TARGET_INSTRUMENTED_RETURN_CONST,
- &&TARGET_INSTRUMENTED_YIELD_VALUE,
&&TARGET_INSTRUMENTED_LOAD_SUPER_ATTR,
&&TARGET_INSTRUMENTED_FOR_ITER,
&&TARGET_INSTRUMENTED_CALL,
@@ -253,6 +250,9 @@ static void *opcode_targets[256] = {
&&TARGET_INSTRUMENTED_POP_JUMP_IF_FALSE,
&&TARGET_INSTRUMENTED_POP_JUMP_IF_NONE,
&&TARGET_INSTRUMENTED_POP_JUMP_IF_NOT_NONE,
+ &&TARGET_INSTRUMENTED_RETURN_VALUE,
+ &&TARGET_INSTRUMENTED_RETURN_CONST,
+ &&TARGET_INSTRUMENTED_YIELD_VALUE,
&&TARGET_INSTRUMENTED_LINE,
&&_unknown_opcode,
};