[pypy-svn] r68702 - pypy/trunk/pypy/jit/metainterp

arigo at codespeak.net arigo at codespeak.net
Wed Oct 21 19:30:29 CEST 2009


Author: arigo
Date: Wed Oct 21 19:30:28 2009
New Revision: 68702

Modified:
   pypy/trunk/pypy/jit/metainterp/resume.py
Log:
Fix annotation.


Modified: pypy/trunk/pypy/jit/metainterp/resume.py
==============================================================================
--- pypy/trunk/pypy/jit/metainterp/resume.py	(original)
+++ pypy/trunk/pypy/jit/metainterp/resume.py	Wed Oct 21 19:30:28 2009
@@ -429,6 +429,7 @@
     "For profiling only."
     import os
     from pypy.rlib import objectmodel
+    assert logname is not None    # annotator hack
     fd = os.open(logname, os.O_WRONLY | os.O_APPEND | os.O_CREAT, 0666)
     os.write(fd, 'Log(%d, [\n' % objectmodel.compute_unique_id(storage))
     frameinfo = storage.rd_frame_info_list



More information about the Pypy-commit mailing list