[pypy-svn] r76371 - pypy/branch/improved-asm-logging/pypy/jit/backend/x86

fijal at codespeak.net fijal at codespeak.net
Tue Jul 27 16:59:42 CEST 2010


Author: fijal
Date: Tue Jul 27 16:59:40 2010
New Revision: 76371

Modified:
   pypy/branch/improved-asm-logging/pypy/jit/backend/x86/assembler.py
Log:
fix translation (bummer)


Modified: pypy/branch/improved-asm-logging/pypy/jit/backend/x86/assembler.py
==============================================================================
--- pypy/branch/improved-asm-logging/pypy/jit/backend/x86/assembler.py	(original)
+++ pypy/branch/improved-asm-logging/pypy/jit/backend/x86/assembler.py	Tue Jul 27 16:59:40 2010
@@ -174,8 +174,9 @@
 
     def finish_once(self):
         if self._debug:
-            assert self._output_loop_log is not None
-            f = open_file_as_stream(self._output_loop_log, "w")
+            output_log = self._output_loop_log
+            assert output_log is not None
+            f = open_file_as_stream(output_log, "w")
             for i in range(self._loop_counter):
                 f.write(self.loop_names[i] + ":" +
                         str(self.loop_run_counter.getitem(i)) + "\n")



More information about the Pypy-commit mailing list