diff options
Diffstat (limited to 'Python')
-rw-r--r-- | Python/ceval.c | 15 | ||||
-rw-r--r-- | Python/compile.c | 2 | ||||
-rw-r--r-- | Python/opcode_targets.h | 2 |
3 files changed, 1 insertions, 18 deletions
diff --git a/Python/ceval.c b/Python/ceval.c index eb36975012..06772b1bec 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -2680,21 +2680,6 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throwflag) DISPATCH(); } - TARGET(STORE_MAP) { - PyObject *key = TOP(); - PyObject *value = SECOND(); - PyObject *map = THIRD(); - int err; - STACKADJ(-2); - assert(PyDict_CheckExact(map)); - err = PyDict_SetItem(map, key, value); - Py_DECREF(value); - Py_DECREF(key); - if (err != 0) - goto error; - DISPATCH(); - } - TARGET(MAP_ADD) { PyObject *key = TOP(); PyObject *value = SECOND(); diff --git a/Python/compile.c b/Python/compile.c index 5905910574..29b88ff0e3 100644 --- a/Python/compile.c +++ b/Python/compile.c @@ -903,8 +903,6 @@ PyCompile_OpcodeStackEffect(int opcode, int oparg) return -1; case STORE_SUBSCR: return -3; - case STORE_MAP: - return -2; case DELETE_SUBSCR: return -2; diff --git a/Python/opcode_targets.h b/Python/opcode_targets.h index 569e759048..ed2a135a38 100644 --- a/Python/opcode_targets.h +++ b/Python/opcode_targets.h @@ -53,7 +53,7 @@ static void *opcode_targets[256] = { &&TARGET_GET_ANEXT, &&TARGET_BEFORE_ASYNC_WITH, &&_unknown_opcode, - &&TARGET_STORE_MAP, + &&_unknown_opcode, &&TARGET_INPLACE_ADD, &&TARGET_INPLACE_SUBTRACT, &&TARGET_INPLACE_MULTIPLY, |