Author: edelsohn Branch: ppc-backend-2 Changeset: r54706:d881d05b561e Date: 2012-04-23 21:12 -0400 http://bitbucket.org/pypy/pypy/changeset/d881d05b561e/
Log: Add get_latest_value_float. diff --git a/pypy/jit/backend/ppc/runner.py b/pypy/jit/backend/ppc/runner.py --- a/pypy/jit/backend/ppc/runner.py +++ b/pypy/jit/backend/ppc/runner.py @@ -114,9 +114,11 @@ return self.asm.fail_boxes_count # fetch the result of the computation and return it + def get_latest_value_float(self, index): + return self.asm.fail_boxes_float.getitem(index) + def get_latest_value_int(self, index): - value = self.asm.fail_boxes_int.getitem(index) - return value + return self.asm.fail_boxes_int.getitem(index) def get_latest_value_ref(self, index): return self.asm.fail_boxes_ptr.getitem(index) _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit