Author: Maciej Fijalkowski <[email protected]>
Branch: vmprof
Changeset: r76645:4ea3a0805b5a
Date: 2015-03-30 19:07 +0200
http://bitbucket.org/pypy/pypy/changeset/4ea3a0805b5a/
Log: we use +1 everywhere, so make this -1 so we hit the same id
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 | 1
+ 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