[pypy-commit] pypy remove-globals-in-jit: Fix
arigo
noreply at buildbot.pypy.org
Sun Dec 2 23:17:00 CET 2012
Author: Armin Rigo <arigo at tunes.org>
Branch: remove-globals-in-jit
Changeset: r59239:3f59cdbc4c52
Date: 2012-12-02 14:11 -0800
http://bitbucket.org/pypy/pypy/changeset/3f59cdbc4c52/
Log: Fix
diff --git a/pypy/jit/metainterp/resume.py b/pypy/jit/metainterp/resume.py
--- a/pypy/jit/metainterp/resume.py
+++ b/pypy/jit/metainterp/resume.py
@@ -706,9 +706,9 @@
# allocate() methods must fill in the cache as soon as they
# have the object, before they fill its fields.
assert self.virtuals_cache is not None
- assert self.rd_virtuals is not None
v = self.virtuals_cache[index]
if not v:
+ assert self.rd_virtuals is not None
v = self.rd_virtuals[index].allocate(self, index)
ll_assert(v == self.virtuals_cache[index], "resume.py: bad cache")
return v
More information about the pypy-commit
mailing list