Mercurial > cpython-lru_cache-weakref
diff Python/opcode_targets.h @ 64439:725231211273
Issue #9225: Remove the ROT_FOUR and DUP_TOPX opcode, the latter replaced
by the new (and simpler) DUP_TOP_TWO. Performance isn't changed, but
our bytecode is a bit simplified. Patch by Demur Rumed.
| author | Antoine Pitrou <solipsis@pitrou.net> |
|---|---|
| date | Sat, 04 Sep 2010 18:43:52 +0000 |
| parents | cab14be0ada1 |
| children | 25cc226dc9bd |
line wrap: on
line diff
--- a/Python/opcode_targets.h Sat Sep 04 18:24:04 2010 +0000 +++ b/Python/opcode_targets.h Sat Sep 04 18:43:52 2010 +0000 @@ -4,7 +4,7 @@ &&TARGET_ROT_TWO, &&TARGET_ROT_THREE, &&TARGET_DUP_TOP, - &&TARGET_ROT_FOUR, + &&TARGET_DUP_TOP_TWO, &&_unknown_opcode, &&_unknown_opcode, &&_unknown_opcode, @@ -98,7 +98,7 @@ &&TARGET_DELETE_ATTR, &&TARGET_STORE_GLOBAL, &&TARGET_DELETE_GLOBAL, - &&TARGET_DUP_TOPX, + &&_unknown_opcode, &&TARGET_LOAD_CONST, &&TARGET_LOAD_NAME, &&TARGET_BUILD_TUPLE,
