diff Python/ceval.c @ 28759:3df0cf16defc legacy-trunk

Revert the previous enhancement to the bytecode optimizer. The additional code complexity and new NOP opcode were not worth it.
author Raymond Hettinger <python@rcn.com>
date Thu, 24 Apr 2003 05:45:23 +0000
parents ab4fbf8ebab3
children af53729d3cdd
line wrap: on
line diff
--- a/Python/ceval.c	Thu Apr 24 02:43:20 2003 +0000
+++ b/Python/ceval.c	Thu Apr 24 05:45:23 2003 +0000
@@ -873,9 +873,6 @@
 
 		/* case STOP_CODE: this is an error! */
 
-		case NOP:
-			goto fast_next_opcode;
-
 		case LOAD_FAST:
 			x = GETLOCAL(oparg);
 			if (x != NULL) {