[pypy-commit] pypy non-linux-vmprof-stacklet-switch-2: try to fix translation for non-linux

mattip pypy.commits at gmail.com
Tue Dec 19 04:27:48 EST 2017


Author: Matti Picus <matti.picus at gmail.com>
Branch: non-linux-vmprof-stacklet-switch-2
Changeset: r93482:80316b2e779f
Date: 2017-12-19 11:26 +0200
http://bitbucket.org/pypy/pypy/changeset/80316b2e779f/

Log:	try to fix translation for non-linux

diff --git a/rpython/rlib/rvmprof/rvmprof.py b/rpython/rlib/rvmprof/rvmprof.py
--- a/rpython/rlib/rvmprof/rvmprof.py
+++ b/rpython/rlib/rvmprof/rvmprof.py
@@ -210,6 +210,7 @@
         try:
             _get_vmprof()
         except cintf.VMProfPlatformUnsupported:
+            func.c_name = '__vmprof_eval_vmprof'
             return func
 
         @jit.oopspec("rvmprof.jitted(unique_id)")


More information about the pypy-commit mailing list