[pypy-commit] pypy ppc-jit-backend: Fixed bug in assembler code representation

hager noreply at buildbot.pypy.org
Mon Aug 1 18:09:18 CEST 2011


Author: hager <sven.hager at uni-duesseldorf.de>
Branch: ppc-jit-backend
Changeset: r46162:fbfa8e46f34e
Date: 2011-08-01 18:05 +0200
http://bitbucket.org/pypy/pypy/changeset/fbfa8e46f34e/

Log:	Fixed bug in assembler code representation

diff --git a/pypy/jit/backend/ppc/ppcgen/ppc_field.py b/pypy/jit/backend/ppc/ppcgen/ppc_field.py
--- a/pypy/jit/backend/ppc/ppcgen/ppc_field.py
+++ b/pypy/jit/backend/ppc/ppcgen/ppc_field.py
@@ -66,8 +66,7 @@
             v = self.decode(i)
             if pc+v in labels:
                 return "%s (%r)"%(v, ', '.join(labels[pc+v]))
-        else:
-            return self.decode(i)
+        return self.decode(i)
 
 
 class spr(Field):


More information about the pypy-commit mailing list