Author: David Schneider <[email protected]>
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
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit