Author: Maciej Fijalkowski <[email protected]>
Branch: vmprof
Changeset: r75346:693985864bfc
Date: 2015-01-15 15:51 +0200
http://bitbucket.org/pypy/pypy/changeset/693985864bfc/
Log: I was sure we had a shortcut
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
@@ -680,7 +680,7 @@
def create_jit_entry_points(self):
for func, args, result in all_jit_entrypoints:
- self.helper_func(lltype.FuncPtr(args, result), func)
+ self.helper_func(lltype.Ptr(lltype.FuncType(args, result), func))
def rewrite_access_helper(self, op):
# make sure we make a copy of function so it no longer belongs
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit