[pypy-commit] pypy jitframe-on-heap: make sure we don't store stuff on AbstractDescr

fijal noreply at buildbot.pypy.org
Mon Jan 21 10:18:33 CET 2013


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: jitframe-on-heap
Changeset: r60284:2d0e75c45f56
Date: 2013-01-21 11:18 +0200
http://bitbucket.org/pypy/pypy/changeset/2d0e75c45f56/

Log:	make sure we don't store stuff on AbstractDescr

diff --git a/rpython/jit/backend/x86/assembler.py b/rpython/jit/backend/x86/assembler.py
--- a/rpython/jit/backend/x86/assembler.py
+++ b/rpython/jit/backend/x86/assembler.py
@@ -44,6 +44,7 @@
 class GuardToken(object):
     def __init__(self, faildescr, failargs, fail_locs, exc,
                  is_guard_not_invalidated, is_guard_not_forced):
+        assert isinstance(faildescr, AbstractFailDescr)
         self.faildescr = faildescr
         self.failargs = failargs
         self.fail_locs = fail_locs


More information about the pypy-commit mailing list