[pypy-commit] pypy arm-backend-2: remove redundant saves
bivab
noreply at buildbot.pypy.org
Thu Jan 26 10:45:30 CET 2012
Author: David Schneider <david.schneider at picle.org>
Branch: arm-backend-2
Changeset: r51784:fc0c1822721d
Date: 2012-01-26 10:18 +0100
http://bitbucket.org/pypy/pypy/changeset/fc0c1822721d/
Log: remove redundant saves
diff --git a/pypy/jit/backend/arm/codebuilder.py b/pypy/jit/backend/arm/codebuilder.py
--- a/pypy/jit/backend/arm/codebuilder.py
+++ b/pypy/jit/backend/arm/codebuilder.py
@@ -23,12 +23,7 @@
"""Generates a call to a helper function, takes its
arguments in r0 and r1, result is placed in r0"""
addr = rffi.cast(lltype.Signed, function)
- if c == cond.AL:
- self.BL(addr)
- else:
- self.PUSH(range(2, 4), cond=c)
- self.BL(addr, c)
- self.POP(range(2, 4), cond=c)
+ self.BL(addr, c)
return f
More information about the pypy-commit
mailing list