Author: Maciej Fijalkowski <[email protected]>
Branch: remember-tracing-counts
Changeset: r79632:d126d19fa016
Date: 2015-09-14 16:13 +0200
http://bitbucket.org/pypy/pypy/changeset/d126d19fa016/
Log: fix
diff --git a/rpython/jit/metainterp/warmspot.py
b/rpython/jit/metainterp/warmspot.py
--- a/rpython/jit/metainterp/warmspot.py
+++ b/rpython/jit/metainterp/warmspot.py
@@ -642,6 +642,12 @@
return cast_instance_to_gcref(function(%s))
""" % (arg_spec, convert, arg_spec)).compile() in d
FUNC = lltype.Ptr(lltype.FuncType(ARGS, llmemory.GCREF))
+ elif name == "trace_next_iteration_hash":
+ exec py.code.Source("""
+ def accessor(arg0):
+ function(arg0)
+ """)
+ FUNC = lltype.Ptr(lltype.FuncType(lltype.Unsigned,
lltype.Void))
else:
exec py.code.Source("""
def accessor(%s):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit