[pypy-svn] r7496 - pypy/trunk/src/pypy/objspace/flow

arigo at codespeak.net arigo at codespeak.net
Sat Nov 20 12:03:35 CET 2004


Author: arigo
Date: Sat Nov 20 12:03:34 2004
New Revision: 7496

Modified:
   pypy/trunk/src/pypy/objspace/flow/flowcontext.py
Log:
Initialize crnt_offset to -1, in case operations are generated before we enter
the first bytecode.


Modified: pypy/trunk/src/pypy/objspace/flow/flowcontext.py
==============================================================================
--- pypy/trunk/src/pypy/objspace/flow/flowcontext.py	(original)
+++ pypy/trunk/src/pypy/objspace/flow/flowcontext.py	Sat Nov 20 12:03:34 2004
@@ -80,6 +80,7 @@
         ExecutionContext.__init__(self, space)
         self.code = code
         self.w_globals = w_globals = space.wrap(globals)
+        self.crnt_offset = -1
         if closure is None:
             self.closure = None
         else:



More information about the Pypy-commit mailing list