[pypy-commit] pypy default: A sanity check that most probably breaks right now on Windows

arigo noreply at buildbot.pypy.org
Thu Nov 10 11:39:03 CET 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r49120:c440cc7e4110
Date: 2011-11-10 11:38 +0100
http://bitbucket.org/pypy/pypy/changeset/c440cc7e4110/

Log:	A sanity check that most probably breaks right now on Windows

diff --git a/pypy/jit/backend/llsupport/descr.py b/pypy/jit/backend/llsupport/descr.py
--- a/pypy/jit/backend/llsupport/descr.py
+++ b/pypy/jit/backend/llsupport/descr.py
@@ -355,6 +355,10 @@
         return False    # unless overridden
 
     def create_call_stub(self, rtyper, RESULT):
+        from pypy.rlib.clibffi import FFI_DEFAULT_ABI
+        assert self.get_call_conv() == FFI_DEFAULT_ABI, (
+            "%r: create_call_stub() with a non-default call ABI" % (self,))
+
         def process(c):
             if c == 'L':
                 assert longlong.supports_longlong


More information about the pypy-commit mailing list