[pypy-commit] pypy vmprof: mark non-jitted functions

fijal noreply at buildbot.pypy.org
Mon Mar 30 18:49:45 CEST 2015


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: vmprof
Changeset: r76644:0a137723eabf
Date: 2015-03-30 18:49 +0200
http://bitbucket.org/pypy/pypy/changeset/0a137723eabf/

Log:	mark non-jitted functions

diff --git a/pypy/module/_vmprof/interp_vmprof.py b/pypy/module/_vmprof/interp_vmprof.py
--- a/pypy/module/_vmprof/interp_vmprof.py
+++ b/pypy/module/_vmprof/interp_vmprof.py
@@ -96,7 +96,7 @@
             gc_frame = cast_instance_to_gcref(frame)
             gc_inputvalue = cast_instance_to_gcref(w_inputvalue)
             gc_operr = cast_instance_to_gcref(operr)
-            unique_id = frame.pycode._unique_id
+            unique_id = frame.pycode._unique_id | 1
             gc_result = pypy_execute_frame_trampoline(gc_frame, gc_inputvalue,
                                                       gc_operr, unique_id)
             return cast_base_ptr_to_instance(W_Root, gc_result)


More information about the pypy-commit mailing list