summaryrefslogtreecommitdiffstats
path: root/Python/ceval_macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'Python/ceval_macros.h')
-rw-r--r--Python/ceval_macros.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/Python/ceval_macros.h b/Python/ceval_macros.h
index 86a48f6..44d6ee8 100644
--- a/Python/ceval_macros.h
+++ b/Python/ceval_macros.h
@@ -174,21 +174,6 @@ GETITEM(PyObject *v, Py_ssize_t i) {
*/
#define PREDICT_ID(op) PRED_##op
-
-#if USE_COMPUTED_GOTOS
-#define PREDICT(op) if (0) goto PREDICT_ID(op)
-#else
-#define PREDICT(next_op) \
- do { \
- _Py_CODEUNIT word = *next_instr; \
- opcode = word.op.code; \
- if (opcode == next_op) { \
- oparg = word.op.arg; \
- INSTRUCTION_START(next_op); \
- goto PREDICT_ID(next_op); \
- } \
- } while(0)
-#endif
#define PREDICTED(op) PREDICT_ID(op):