Author: Richard Plangger <planri...@gmail.com>
Branch: new-jit-log
Changeset: r85814:1fb6d893fd12
Date: 2016-07-22 11:59 +0200
http://bitbucket.org/pypy/pypy/changeset/1fb6d893fd12/

Log:    remove the old functions from the _vmprof module

diff --git a/pypy/module/_vmprof/__init__.py b/pypy/module/_vmprof/__init__.py
--- a/pypy/module/_vmprof/__init__.py
+++ b/pypy/module/_vmprof/__init__.py
@@ -10,9 +10,7 @@
 
     interpleveldefs = {
         'enable': 'interp_vmprof.enable',
-        'enable_jitlog': 'interp_vmprof.enable_jitlog',
         'disable': 'interp_vmprof.disable',
-        'disable_jitlog': 'interp_vmprof.disable_jitlog',
         'write_all_code_objects': 'interp_vmprof.write_all_code_objects',
         'VMProfError': 'space.fromcache(interp_vmprof.Cache).w_VMProfError',
     }
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
@@ -69,19 +69,6 @@
     except rvmprof.VMProfError as e:
         raise VMProfError(space, e)
 
-@unwrap_spec(fileno=int)
-def enable_jitlog(space, fileno):
-    """ Enable PyPy's logging facility. """
-    try:
-        rjitlog.enable_jitlog(fileno)
-    except rvmprof.VMProfError, e:
-        raise VMProfError(space, e)
-
-@jit.dont_look_inside
-def disable_jitlog(space):
-    """ Disable PyPy's logging facility. """
-    rvmprof.disable_jitlog()
-
 def write_all_code_objects(space):
     """ Needed on cpython, just empty function here
     """
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to