[pypy-svn] r47995 - pypy/dist/pypy/lang/smalltalk
tverwaes at codespeak.net
tverwaes at codespeak.net
Thu Oct 25 22:38:34 CEST 2007
Author: tverwaes
Date: Thu Oct 25 22:38:34 2007
New Revision: 47995
Modified:
pypy/dist/pypy/lang/smalltalk/interpreter.py
Log:
fixing bytecode of unconditionaljump
Modified: pypy/dist/pypy/lang/smalltalk/interpreter.py
==============================================================================
--- pypy/dist/pypy/lang/smalltalk/interpreter.py (original)
+++ pypy/dist/pypy/lang/smalltalk/interpreter.py Thu Oct 25 22:38:34 2007
@@ -279,7 +279,7 @@
self.jumpConditional(interp.FALSE,self.shortJumpPosition())
def longUnconditionalJump(self, interp):
- self.jump(self.longJumpPosition())
+ self.jump((((self.currentBytecode & 7) - 4) << 8) + self.getByte())
def longJumpPosition(self):
return ((self.currentBytecode & 3) << 8) + self.getByte()
More information about the Pypy-commit
mailing list