[pypy-commit] pypy emit-call-x86: fix
arigo
noreply at buildbot.pypy.org
Sun May 19 19:51:42 CEST 2013
Author: Armin Rigo <arigo at tunes.org>
Branch: emit-call-x86
Changeset: r64338:5d96085a18f3
Date: 2013-05-19 19:43 +0200
http://bitbucket.org/pypy/pypy/changeset/5d96085a18f3/
Log: fix
diff --git a/rpython/jit/backend/test/runner_test.py b/rpython/jit/backend/test/runner_test.py
--- a/rpython/jit/backend/test/runner_test.py
+++ b/rpython/jit/backend/test/runner_test.py
@@ -2601,7 +2601,11 @@
assert rffi.cast(TP, r) == result
elif isinstance(b3, BoxFloat):
r = self.cpu.get_float_value(deadframe, 0)
- assert r == result # xxx
+ if isinstance(result, float):
+ r = longlong.getrealfloat(r)
+ else:
+ r = rffi.cast(TP, r)
+ assert r == result
def test_guard_not_invalidated(self):
cpu = self.cpu
More information about the pypy-commit
mailing list