[pypy-commit] pypy vmprof: I was sure we had a shortcut

fijal noreply at buildbot.pypy.org
Thu Jan 15 14:51:53 CET 2015


Author: Maciej Fijalkowski <fijall at gmail.com>
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


More information about the pypy-commit mailing list