Author: Maciej Fijalkowski <[email protected]>
Branch: vmprof
Changeset: r76015:5bb5dbd1a60b
Date: 2015-02-20 17:54 +0200
http://bitbucket.org/pypy/pypy/changeset/5bb5dbd1a60b/

Log:    kill the code handling for now

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
@@ -138,7 +138,6 @@
         self.fileno = -1
 
     def enable(self, space, fileno, period):
-        xxx
         if self.is_enabled:
             raise oefmt(space.w_ValueError, "_vmprof already enabled")
         self.fileno = fileno
@@ -148,11 +147,6 @@
             if we_are_translated():
                 pypy_vmprof_init()
             self.ever_enabled = True
-        for weakcode in space.all_code_objs.get_all_handles():
-            code = weakcode()
-            if code:
-                self.register_code(space, code)
-        space.set_code_callback(vmprof_register_code)
         if we_are_translated():
             # does not work untranslated
             res = vmprof_enable(fileno, period, 0,
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to