Author: Maciej Fijalkowski <[email protected]>
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)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit