Author: Armin Rigo <[email protected]>
Branch: stmgc-c4
Changeset: r66860:07dc1406b5e1
Date: 2013-09-09 16:02 +0200
http://bitbucket.org/pypy/pypy/changeset/07dc1406b5e1/

Log:    Crash more cleanly when trying to translate on 32-bit (duh)

diff --git a/rpython/jit/backend/x86/assembler.py 
b/rpython/jit/backend/x86/assembler.py
--- a/rpython/jit/backend/x86/assembler.py
+++ b/rpython/jit/backend/x86/assembler.py
@@ -2406,7 +2406,8 @@
         # read_barrier:
         # (obj->h_revision != stm_private_rev_num)
         #     && (FXCACHE_AT(obj) != obj)))
-        assert not IS_X86_32 # XXX: todo
+        if IS_X86_32:   # XXX: todo
+            todo()
         jz_location = 0
         jz_location2 = 0
         jnz_location = 0
@@ -2889,5 +2890,8 @@
 
 cond_call_register_arguments = [edi, esi, edx, ecx]
 
+def todo():
+    CRASH   # not done yet
+
 class BridgeAlreadyCompiled(Exception):
     pass
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to