[pypy-commit] lang-js default: fixed wrong base class for JUMP_IF_TRUE

stepahn noreply at buildbot.pypy.org
Wed May 18 11:14:48 CEST 2011


Author: Stephan <stephan at stzal.com>
Branch: 
Changeset: r57:39b0dd40acfd
Date: 2011-05-12 11:33 +0200
http://bitbucket.org/pypy/lang-js/changeset/39b0dd40acfd/

Log:	fixed wrong base class for JUMP_IF_TRUE

diff --git a/js/jscode.py b/js/jscode.py
--- a/js/jscode.py
+++ b/js/jscode.py
@@ -758,7 +758,7 @@
             return pos + 1
         return self.where
 
-class JUMP_IF_TRUE(BaseIfNopopJump):
+class JUMP_IF_TRUE(BaseIfJump):
     def do_jump(self, stack, pos):
         if self.decision:
             return self.where


More information about the pypy-commit mailing list