[pypy-commit] pypy continulet-jit-3: Fix test

arigo noreply at buildbot.pypy.org
Sun Oct 21 13:11:52 CEST 2012


Author: Armin Rigo <arigo at tunes.org>
Branch: continulet-jit-3
Changeset: r58306:25a1e657b489
Date: 2012-10-21 13:00 +0200
http://bitbucket.org/pypy/pypy/changeset/25a1e657b489/

Log:	Fix test

diff --git a/pypy/jit/backend/test/runner_test.py b/pypy/jit/backend/test/runner_test.py
--- a/pypy/jit/backend/test/runner_test.py
+++ b/pypy/jit/backend/test/runner_test.py
@@ -2004,7 +2004,7 @@
         assert self.cpu.get_finish_value_ref(frame) == xptr
         frame = self.cpu.execute_token(looptoken, 0)
         assert self.cpu.get_latest_value_int(frame, 0) == 1
-        excvalue = self.cpu.get_finish_value_ref(frame)
+        excvalue = self.cpu.grab_exc_value(frame)
         assert not excvalue
 
         ytp = lltype.malloc(rclass.OBJECT_VTABLE, immortal=True)
@@ -2023,7 +2023,7 @@
         self.cpu.compile_loop(loop.inputargs, loop.operations, looptoken)
         frame = self.cpu.execute_token(looptoken, 1)
         assert self.cpu.get_latest_value_int(frame, 0) == 1
-        excvalue = self.cpu.get_finish_value_ref(frame)
+        excvalue = self.cpu.grab_exc_value(frame)
         assert excvalue == yptr
 
         exc_tp = xtp
@@ -2040,7 +2040,7 @@
         self.cpu.compile_loop(loop.inputargs, loop.operations, looptoken)
         frame = self.cpu.execute_token(looptoken, 1)
         assert self.cpu.get_latest_value_int(frame, 0) == 1
-        excvalue = self.cpu.get_finish_value_ref(frame)
+        excvalue = self.cpu.grab_exc_value(frame)
         assert excvalue == xptr
         frame = self.cpu.execute_token(looptoken, 0)
         assert self.cpu.get_finish_value_int(frame) == -100


More information about the pypy-commit mailing list