summaryrefslogtreecommitdiffstats
path: root/Python/abstract_interp_cases.c.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2023-09-11 22:39:19 (GMT)
committerGitHub <noreply@github.com>2023-09-11 22:39:19 (GMT)
commitfbaf77eb9bd1e6812ebf984d32b29b025cc037d6 (patch)
treedbe770374dcdb9d414bc9ff4bc9937b194039032 /Python/abstract_interp_cases.c.h
parent1ee50e2a78f644d81d341a08562073ad169d8cc7 (diff)
downloadcpython-fbaf77eb9bd1e6812ebf984d32b29b025cc037d6.zip
cpython-fbaf77eb9bd1e6812ebf984d32b29b025cc037d6.tar.gz
cpython-fbaf77eb9bd1e6812ebf984d32b29b025cc037d6.tar.bz2
gh-109214: Rename SAVE_IP to _SET_IP, and similar (#109285)
* Rename SAVE_IP to _SET_IP * Rename EXIT_TRACE to _EXIT_TRACE * Rename SAVE_CURRENT_IP to _SAVE_CURRENT_IP * Rename INSERT to _INSERT (This is for Ken Jin's abstract interpreter) * Rename IS_NONE to _IS_NONE * Rename JUMP_TO_TOP to _JUMP_TO_TOP
Diffstat (limited to 'Python/abstract_interp_cases.c.h')
-rw-r--r--Python/abstract_interp_cases.c.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/Python/abstract_interp_cases.c.h b/Python/abstract_interp_cases.c.h
index 398c046..1b96ca1 100644
--- a/Python/abstract_interp_cases.c.h
+++ b/Python/abstract_interp_cases.c.h
@@ -521,7 +521,7 @@
break;
}
- case IS_NONE: {
+ case _IS_NONE: {
PARTITIONNODE_OVERWRITE((_Py_PARTITIONNODE_t *)PARTITIONNODE_NULLROOT, PEEK(-(-1)), true);
break;
}
@@ -792,23 +792,23 @@
break;
}
- case JUMP_TO_TOP: {
+ case _JUMP_TO_TOP: {
break;
}
- case SAVE_IP: {
+ case _SET_IP: {
break;
}
- case SAVE_CURRENT_IP: {
+ case _SAVE_CURRENT_IP: {
break;
}
- case EXIT_TRACE: {
+ case _EXIT_TRACE: {
break;
}
- case INSERT: {
+ case _INSERT: {
PARTITIONNODE_OVERWRITE((_Py_PARTITIONNODE_t *)PARTITIONNODE_NULLROOT, PEEK(-(-1 - oparg)), true);
break;
}