[pypy-commit] pypy arm-backed-float: Argh. Found by chance a small missing piece in the ARM backend.
arigo
noreply at buildbot.pypy.org
Fri Jun 10 10:40:57 CEST 2011
Author: Armin Rigo <arigo at tunes.org>
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))
More information about the pypy-commit
mailing list