diff options
author | Pablo Galindo <Pablogsal@gmail.com> | 2021-06-08 13:17:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-08 13:17:55 +0100 |
commit | 3fe921cd49959181163671364c8b84faa88f7895 (patch) | |
tree | 939bcd1d318405affab0df79ffe650c1565565af /Lib/opcode.py | |
parent | 781dc76577b1810666f4ce04d8fc20d8b43fb374 (diff) | |
download | cpython-git-3fe921cd49959181163671364c8b84faa88f7895.tar.gz |
Revert "bpo-43693: Add the MAKE_CELL opcode and interleave fast locals offsets. (gh-26396)" (GH-26597)
This reverts commit 631f9938b1604d4f893417ec339b9e0fa9196fb1.
Diffstat (limited to 'Lib/opcode.py')
-rw-r--r-- | Lib/opcode.py | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/Lib/opcode.py b/Lib/opcode.py index 4d5343179e..da143fe01f 100644 --- a/Lib/opcode.py +++ b/Lib/opcode.py @@ -181,16 +181,14 @@ def_op('CALL_FUNCTION', 131) # #args def_op('MAKE_FUNCTION', 132) # Flags def_op('BUILD_SLICE', 133) # Number of items -def_op('MAKE_CELL', 135) +def_op('LOAD_CLOSURE', 135) hasfree.append(135) -def_op('LOAD_CLOSURE', 136) +def_op('LOAD_DEREF', 136) hasfree.append(136) -def_op('LOAD_DEREF', 137) +def_op('STORE_DEREF', 137) hasfree.append(137) -def_op('STORE_DEREF', 138) +def_op('DELETE_DEREF', 138) hasfree.append(138) -def_op('DELETE_DEREF', 139) -hasfree.append(139) def_op('CALL_FUNCTION_KW', 141) # #args + #kwargs def_op('CALL_FUNCTION_EX', 142) # Flags |