Author: David Schneider <david.schnei...@picle.org>
Branch: emit-call-arm
Changeset: r64531:37592fdca826
Date: 2013-05-23 15:34 -0500
http://bitbucket.org/pypy/pypy/changeset/37592fdca826/

Log:    swap checks

diff --git a/rpython/jit/backend/arm/assembler.py 
b/rpython/jit/backend/arm/assembler.py
--- a/rpython/jit/backend/arm/assembler.py
+++ b/rpython/jit/backend/arm/assembler.py
@@ -1438,12 +1438,12 @@
         return shiftsize
 
     def simple_call(self, fnloc, arglocs, result_loc=r.r0):
-        if result_loc.is_vfp_reg():
+        if result_loc is None:
+            result_type = VOID
+            result_size = 0
+        elif result_loc.is_vfp_reg():
             result_type = FLOAT
             result_size = DOUBLE_WORD
-        elif result_loc is None:
-            result_type = VOID
-            result_size = 0
         else:
             result_type = INT
             result_size = WORD
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to