Author: hager <sven.ha...@uni-duesseldorf.de> Branch: ppc-jit-backend Changeset: r53900:4cb3a7f01438 Date: 2012-03-22 07:47 -0700 http://bitbucket.org/pypy/pypy/changeset/4cb3a7f01438/
Log: beautify code diff --git a/pypy/jit/backend/ppc/ppc_assembler.py b/pypy/jit/backend/ppc/ppc_assembler.py --- a/pypy/jit/backend/ppc/ppc_assembler.py +++ b/pypy/jit/backend/ppc/ppc_assembler.py @@ -485,7 +485,7 @@ # are interrupting the function. # restore link register out of preprevious frame - offset_LR = frame_size + BACKCHAIN_SIZE * WORD + WORD + offset_LR = frame_size + MINIFRAME_SIZE + WORD if IS_PPC_64: offset_LR += WORD @@ -494,7 +494,7 @@ mc.mtlr(r.SCRATCH.value) # remove this frame and the miniframe - both_framesizes = frame_size + BACKCHAIN_SIZE * WORD + both_framesizes = frame_size + MINIFRAME_SIZE mc.addi(r.SP.value, r.SP.value, both_framesizes) mc.blr() _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit