[pypy-commit] pypy jitframe-on-heap: hack differently
fijal
noreply at buildbot.pypy.org
Mon Jan 21 10:20:58 CET 2013
Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: jitframe-on-heap
Changeset: r60285:22b28490113e
Date: 2013-01-21 11:20 +0200
http://bitbucket.org/pypy/pypy/changeset/22b28490113e/
Log: hack differently
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,7 +44,6 @@
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
diff --git a/rpython/jit/metainterp/compile.py b/rpython/jit/metainterp/compile.py
--- a/rpython/jit/metainterp/compile.py
+++ b/rpython/jit/metainterp/compile.py
@@ -309,6 +309,7 @@
def do_compile_bridge(metainterp_sd, faildescr, inputargs, operations,
original_loop_token, log=True):
metainterp_sd.logger_ops.log_bridge(inputargs, operations, "compiling")
+ assert isinstance(faildescr, AbstractFailDescr)
return metainterp_sd.cpu.compile_bridge(faildescr, inputargs, operations,
original_loop_token, log=log)
More information about the pypy-commit
mailing list