Author: David Schneider <[email protected]>
Branch: arm-backend-2
Changeset: r51310:44a83931f5cb
Date: 2012-01-13 14:59 +0100
http://bitbucket.org/pypy/pypy/changeset/44a83931f5cb/

Log:    implement as_key method for const float locations required for using
        const floats in jumps

diff --git a/pypy/jit/backend/arm/locations.py 
b/pypy/jit/backend/arm/locations.py
--- a/pypy/jit/backend/arm/locations.py
+++ b/pypy/jit/backend/arm/locations.py
@@ -100,6 +100,9 @@
     def is_imm_float(self):
         return True
 
+    def as_key(self):
+        return self.value
+
 
 class StackLocation(AssemblerLocation):
     _immutable_ = True
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to