[pypy-commit] pypy share-guard-info: Fix: we must not call make_result_of_lastop here, because we'll always

arigo noreply at buildbot.pypy.org
Tue Sep 29 14:47:31 CEST 2015


Author: Armin Rigo <arigo at tunes.org>
Branch: share-guard-info
Changeset: r79894:520532cf1510
Date: 2015-09-29 14:47 +0200
http://bitbucket.org/pypy/pypy/changeset/520532cf1510/

Log:	Fix: we must not call make_result_of_lastop here, because we'll
	always resume at the start of the int_add_jump_if_ovf, not at the
	end.

diff --git a/rpython/jit/metainterp/pyjitpl.py b/rpython/jit/metainterp/pyjitpl.py
--- a/rpython/jit/metainterp/pyjitpl.py
+++ b/rpython/jit/metainterp/pyjitpl.py
@@ -238,7 +238,6 @@
             def opimpl_%s(self, lbl, b1, b2, orgpc):
                 self.metainterp.ovf_flag = False
                 resbox = self.execute(rop.%s, b1, b2)
-                self.make_result_of_lastop(resbox)  # same as execute_varargs()
                 if not isinstance(resbox, Const):
                     return self.handle_possible_overflow_error(lbl, orgpc,
                                                                resbox)


More information about the pypy-commit mailing list