[pypy-commit] pypy ppc-jit-backend: little beautification

hager noreply at buildbot.pypy.org
Thu Oct 20 11:02:48 CEST 2011


Author: hager <sven.hager at uni-duesseldorf.de>
Branch: ppc-jit-backend
Changeset: r48256:5ef0586e29c2
Date: 2011-10-20 11:00 +0200
http://bitbucket.org/pypy/pypy/changeset/5ef0586e29c2/

Log:	little beautification

diff --git a/pypy/jit/backend/ppc/ppcgen/ppc_assembler.py b/pypy/jit/backend/ppc/ppcgen/ppc_assembler.py
--- a/pypy/jit/backend/ppc/ppcgen/ppc_assembler.py
+++ b/pypy/jit/backend/ppc/ppcgen/ppc_assembler.py
@@ -534,7 +534,8 @@
 
             if not tok.is_invalidate:
                 mc = PPCBuilder()
-                mc.b_cond_offset(descr._ppc_guard_pos - tok.offset, tok.fcond)
+                offset = descr._ppc_guard_pos - tok.offset
+                mc.b_cond_offset(offset, tok.fcond)
                 mc.prepare_insts_blocks(True)
                 mc.copy_to_raw_memory(block_start + tok.offset)
             else:


More information about the pypy-commit mailing list