Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r59809:a299cd0a893f Date: 2013-01-06 10:50 +0100 http://bitbucket.org/pypy/pypy/changeset/a299cd0a893f/
Log: Fix test_assembler_call_float on 32-bit diff --git a/pypy/jit/backend/llgraph/runner.py b/pypy/jit/backend/llgraph/runner.py --- a/pypy/jit/backend/llgraph/runner.py +++ b/pypy/jit/backend/llgraph/runner.py @@ -877,13 +877,16 @@ # assembler_helper_ptr = jd.assembler_helper_adr.ptr # fish try: - return assembler_helper_ptr(pframe, vable) + result = assembler_helper_ptr(pframe, vable) except LLException, lle: assert self.last_exception is None, "exception left behind" self.last_exception = lle # fish op op = self.current_op return op.result and op.result.value + if isinstance(result, float): + result = support.cast_to_floatstorage(result) + return result def execute_same_as(self, _, x): return x _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit