[Python-checkins] bpo-46841: remove no-longer-used macro UPDATE_PREV_INSTR_OPARG (GH-32100)
iritkatriel
webhook-mailer at python.org
Thu Mar 24 14:54:45 EDT 2022
https://github.com/python/cpython/commit/2f49b97cc5426087b46515254b9a97a22ee8c807
commit: 2f49b97cc5426087b46515254b9a97a22ee8c807
branch: main
author: Irit Katriel <1055913+iritkatriel at users.noreply.github.com>
committer: iritkatriel <1055913+iritkatriel at users.noreply.github.com>
date: 2022-03-24T18:54:35Z
summary:
bpo-46841: remove no-longer-used macro UPDATE_PREV_INSTR_OPARG (GH-32100)
files:
M Python/ceval.c
diff --git a/Python/ceval.c b/Python/ceval.c
index 42925b5b63048..e1d961fee6a83 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -1433,8 +1433,6 @@ eval_frame_handle_pending(PyThreadState *tstate)
#define DEOPT_IF(cond, instname) if (cond) { goto instname ## _miss; }
-#define UPDATE_PREV_INSTR_OPARG(instr, oparg) ((uint8_t*)(instr))[-1] = (oparg)
-
#define GLOBALS() frame->f_globals
#define BUILTINS() frame->f_builtins
More information about the Python-checkins
mailing list