Author: Armin Rigo <[email protected]>
Branch: arm-backed-float
Changeset: r44870:30d3ac53bbbe
Date: 2011-06-10 10:39 +0200
http://bitbucket.org/pypy/pypy/changeset/30d3ac53bbbe/

Log:    Argh. Found by chance a small missing piece in the ARM backend. Not
        implementing this function causes rare crashes, probably missed by
        any test... :-(

diff --git a/pypy/jit/backend/llsupport/llmodel.py 
b/pypy/jit/backend/llsupport/llmodel.py
--- a/pypy/jit/backend/llsupport/llmodel.py
+++ b/pypy/jit/backend/llsupport/llmodel.py
@@ -174,7 +174,9 @@
         self.on_leave_jitted_save_exc = on_leave_jitted_save_exc
 
     def get_on_leave_jitted_hook(self):
-        return lambda : None
+        # this function needs to be overridden for things to work with
+        # our framework GCs
+        translation_time_error
 
     _ON_JIT_LEAVE_FUNC = lltype.Ptr(lltype.FuncType([], lltype.Void))
 
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to