[pypy-commit] pypy arm-backend-2: (arigo, bivab): add instance_ptr_... also in the register allocator

bivab noreply at buildbot.pypy.org
Mon Dec 5 10:05:45 CET 2011


Author: David Schneider <david.schneider at picle.org>
Branch: arm-backend-2
Changeset: r50165:83649b8410c7
Date: 2011-12-02 12:31 +0100
http://bitbucket.org/pypy/pypy/changeset/83649b8410c7/

Log:	(arigo, bivab): add instance_ptr_... also in the register allocator

diff --git a/pypy/jit/backend/arm/regalloc.py b/pypy/jit/backend/arm/regalloc.py
--- a/pypy/jit/backend/arm/regalloc.py
+++ b/pypy/jit/backend/arm/regalloc.py
@@ -439,8 +439,8 @@
     prepare_op_uint_lt = prepare_cmp_op('uint_lt')
     prepare_op_uint_ge = prepare_cmp_op('uint_ge')
 
-    prepare_op_ptr_eq = prepare_op_int_eq
-    prepare_op_ptr_ne = prepare_op_int_ne
+    prepare_op_ptr_eq = prepare_op_instance_ptr_eq = prepare_op_int_eq
+    prepare_op_ptr_ne = prepare_op_instance_ptr_ne = prepare_op_int_ne
 
     prepare_guard_int_lt = prepare_cmp_op('guard_int_lt')
     prepare_guard_int_le = prepare_cmp_op('guard_int_le')
@@ -455,8 +455,8 @@
     prepare_guard_uint_lt = prepare_cmp_op('guard_uint_lt')
     prepare_guard_uint_ge = prepare_cmp_op('guard_uint_ge')
 
-    prepare_guard_ptr_eq = prepare_guard_int_eq
-    prepare_guard_ptr_ne = prepare_guard_int_ne
+    prepare_guard_ptr_eq = prepare_guard_instance_ptr_eq = prepare_guard_int_eq
+    prepare_guard_ptr_ne = prepare_guard_instance_ptr_ne = prepare_guard_int_ne
 
     prepare_op_int_add_ovf = prepare_op_int_add
     prepare_op_int_sub_ovf = prepare_op_int_sub


More information about the pypy-commit mailing list