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

fijal at codespeak.net fijal at codespeak.net
Tue Jul 27 19:03:09 CEST 2010


Author: fijal
Date: Tue Jul 27 19:03:08 2010
New Revision: 76374

Modified:
   pypy/branch/improved-asm-logging/pypy/jit/backend/x86/assembler.py
Log:
Grumble. swap those calls


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 19:03:08 2010
@@ -231,9 +231,9 @@
                _x86_param_depth
                _x86_arglocs
         """
+        self.make_sure_mc_exists()
         funcname = self._find_debug_merge_point(operations)
 
-        self.make_sure_mc_exists()
         regalloc = RegAlloc(self, self.cpu.translate_support_code)
         arglocs = regalloc.prepare_loop(inputargs, operations, looptoken)
         looptoken._x86_arglocs = arglocs
@@ -268,9 +268,9 @@
         
 
     def assemble_bridge(self, faildescr, inputargs, operations):
+        self.make_sure_mc_exists()
         funcname = self._find_debug_merge_point(operations)
 
-        self.make_sure_mc_exists()
         arglocs = self.rebuild_faillocs_from_descr(
             faildescr._x86_failure_recovery_bytecode)
         if not we_are_translated():



More information about the Pypy-commit mailing list