Author: Christian Tismer <[email protected]>
Branch: win64-stage1
Changeset: r49802:3b640415e101
Date: 2011-11-26 03:33 +0100
http://bitbucket.org/pypy/pypy/changeset/3b640415e101/

Log:    Added a check for is_emulated_long. inefficient: one change for one
        working test ;-)

diff --git a/pypy/jit/backend/llsupport/test/test_ffisupport.py 
b/pypy/jit/backend/llsupport/test/test_ffisupport.py
--- a/pypy/jit/backend/llsupport/test/test_ffisupport.py
+++ b/pypy/jit/backend/llsupport/test/test_ffisupport.py
@@ -1,6 +1,7 @@
 from pypy.rlib.libffi import types
 from pypy.jit.codewriter.longlong import is_64_bit
 from pypy.jit.backend.llsupport.ffisupport import *
+from pypy.rlib.rarithmetic import is_emulated_long
 
 
 class FakeCPU:
@@ -38,7 +39,7 @@
     assert descr.get_result_size(False) == 1
     assert descr.is_result_signed() == False
 
-    if not is_64_bit:
+    if not is_64_bit or is_emulated_long:
         descr = get_call_descr_dynamic(FakeCPU(), [], types.slonglong,
                                        None, 42)
         assert descr is None   # missing longlongs
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to