[pypy-commit] pypy default: Fix.

arigo noreply at buildbot.pypy.org
Wed May 25 11:08:22 CEST 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r44416:cc48085456cf
Date: 2011-05-24 16:14 +0200
http://bitbucket.org/pypy/pypy/changeset/cc48085456cf/

Log:	Fix.

diff --git a/pypy/jit/backend/x86/assembler.py b/pypy/jit/backend/x86/assembler.py
--- a/pypy/jit/backend/x86/assembler.py
+++ b/pypy/jit/backend/x86/assembler.py
@@ -137,7 +137,8 @@
         self.current_clt = looptoken.compiled_loop_token
         self.pending_guard_tokens = []
         self.mc = codebuf.MachineCodeBlockWrapper()
-        assert self.datablockwrapper is None
+        #assert self.datablockwrapper is None --- but obscure case
+        # possible, e.g. getting MemoryError and continuing
         allblocks = self.get_asmmemmgr_blocks(looptoken)
         self.datablockwrapper = MachineDataBlockWrapper(self.cpu.asmmemmgr,
                                                         allblocks)


More information about the pypy-commit mailing list