[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pypy-svn
Subject:    [pypy-svn] pypy jit-shadowstack: Fix.
From:       arigo <commits-noreply () bitbucket ! org>
Date:       2011-03-31 11:58:33
Message-ID: 20110331115833.537AB282B90 () codespeak ! net
[Download RAW message or body]

Author: Armin Rigo <arigo@tunes.org>
Branch: jit-shadowstack
Changeset: r43045:cd0f89185a35
Date: 2011-03-31 13:57 +0200
http://bitbucket.org/pypy/pypy/changeset/cd0f89185a35/

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
@@ -133,6 +133,7 @@
 
     def setup(self, looptoken):
         assert self.memcpy_addr != 0, "setup_once() not called?"
+        self.currently_compiling_loop = looptoken
         self.pending_guard_tokens = []
         self.mc = codebuf.MachineCodeBlockWrapper()
         if self.datablockwrapper is None:
@@ -318,7 +319,6 @@
             assert len(set(inputargs)) == len(inputargs)
 
         self.setup(looptoken)
-        self.currently_compiling_loop = looptoken
         funcname = self._find_debug_merge_point(operations)
         if log:
             self._register_counter()
_______________________________________________
pypy-svn mailing list
pypy-svn@codespeak.net
http://codespeak.net/mailman/listinfo/pypy-svn
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic