[pypy-commit] pypy new-jit-log: renamed old module

plan_rich pypy.commits at gmail.com
Mon Apr 25 09:22:27 EDT 2016


Author: Richard Plangger <planrichi at gmail.com>
Branch: new-jit-log
Changeset: r83865:b20596712e8d
Date: 2016-04-25 15:10 +0200
http://bitbucket.org/pypy/pypy/changeset/b20596712e8d/

Log:	renamed old module

diff --git a/rpython/rlib/rvmprof/rvmprof.py b/rpython/rlib/rvmprof/rvmprof.py
--- a/rpython/rlib/rvmprof/rvmprof.py
+++ b/rpython/rlib/rvmprof/rvmprof.py
@@ -124,11 +124,11 @@
 
     def enable_jitlog(self, fileno):
         # initialize the jit log
-        from rpython.jit.metainterp import jitlog
+        from rpython.rlib import jitlog as jl
         p_error = self.cintf.jitlog_init(fileno)
         if p_error:
             raise VMProfError(rffi.charp2str(p_error))
-        blob = jitlog.assemble_header()
+        blob = jl.assemble_header()
         self.cintf.jitlog_write_marked(jitlog.MARK_JITLOG_HEADER, blob, len(blob))
 
     def disable(self):


More information about the pypy-commit mailing list