Author: Carl Friedrich Bolz <cfb...@gmx.de> Branch: guard-compatible Changeset: r83035:5eebc249f313 Date: 2016-03-14 12:24 +0100 http://bitbucket.org/pypy/pypy/changeset/5eebc249f313/
Log: update to new interface 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 @@ -1095,6 +1095,8 @@ refval = metainterp_sd.cpu.get_value_direct(deadframe, 'r', index) if self.is_compatible(metainterp_sd.cpu, refval): from rpython.jit.metainterp.blackhole import resume_in_blackhole + metainterp_sd.cpu.grow_guard_compatible_switch( + self, self.rd_loop_token, refval) resume_in_blackhole(metainterp_sd, jitdriver_sd, self, deadframe) else: # a real failure @@ -1104,7 +1106,6 @@ const = history.newconst(ref) if self._compatibility_conditions: if self._compatibility_conditions.check_compat(cpu, ref): - cpu.grow_guard_compatible_switch(self, ref) return True return False return True # no conditions, everything works _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit