[pypy-svn] r5254 - pypy/trunk/src/pypy/interpreter
arigo at codespeak.net
arigo at codespeak.net
Wed Jun 23 13:28:43 CEST 2004
Author: arigo
Date: Wed Jun 23 13:28:42 2004
New Revision: 5254
Modified:
pypy/trunk/src/pypy/interpreter/pyopcode.py
Log:
New opcode from Python 2.4: NOP.
Modified: pypy/trunk/src/pypy/interpreter/pyopcode.py
==============================================================================
--- pypy/trunk/src/pypy/interpreter/pyopcode.py (original)
+++ pypy/trunk/src/pypy/interpreter/pyopcode.py Wed Jun 23 13:28:42 2004
@@ -81,6 +81,9 @@
# the 'self' argument of opcode implementations is called 'f'
# for historical reasons
+ def NOP(f):
+ pass
+
def LOAD_FAST(f, varindex):
# access a local variable directly
w_value = f.fastlocals_w[varindex]
More information about the Pypy-commit
mailing list