[pypy-commit] pypy win64-stage1: Added a check for is_emulated_long.
ctismer
noreply at buildbot.pypy.org
Sat Nov 26 04:36:20 CET 2011
Author: Christian Tismer <tismer at stackless.com>
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
More information about the pypy-commit
mailing list