[pypy-commit] pypy better-jit-hooks: run those in a slightly different order, so we rewrite them before jitcodes

fijal noreply at buildbot.pypy.org
Sat Jan 7 13:30:03 CET 2012


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: better-jit-hooks
Changeset: r51109:4e244fe6f3f8
Date: 2012-01-07 14:29 +0200
http://bitbucket.org/pypy/pypy/changeset/4e244fe6f3f8/

Log:	run those in a slightly different order, so we rewrite them before
	jitcodes

diff --git a/pypy/jit/metainterp/warmspot.py b/pypy/jit/metainterp/warmspot.py
--- a/pypy/jit/metainterp/warmspot.py
+++ b/pypy/jit/metainterp/warmspot.py
@@ -219,9 +219,9 @@
         self.portal = policy.portal
 
         verbose = False # not self.cpu.translate_support_code
+        self.rewrite_access_helpers()
         self.codewriter.make_jitcodes(verbose=verbose)
         self.rewrite_can_enter_jits()
-        self.rewrite_access_helpers()
         self.rewrite_set_param()
         self.rewrite_force_virtual(vrefinfo)
         self.rewrite_force_quasi_immutable()


More information about the pypy-commit mailing list