Author: Maciej Fijalkowski <fij...@gmail.com> Branch: jitframe-on-heap Changeset: r61193:ed34ec8baf40 Date: 2013-02-13 23:17 +0200 http://bitbucket.org/pypy/pypy/changeset/ed34ec8baf40/
Log: provide is_float on arm locations diff --git a/rpython/jit/backend/arm/locations.py b/rpython/jit/backend/arm/locations.py --- a/rpython/jit/backend/arm/locations.py +++ b/rpython/jit/backend/arm/locations.py @@ -21,6 +21,9 @@ def is_imm_float(self): return False + def is_float(self): + return False + def as_key(self): raise NotImplementedError @@ -65,6 +68,9 @@ def as_key(self): return self.value + 20 + def is_float(self): + return True + class ImmLocation(AssemblerLocation): _immutable_ = True @@ -105,6 +111,8 @@ def as_key(self): return self.value + def is_float(self): + return True class StackLocation(AssemblerLocation): _immutable_ = True @@ -136,6 +144,9 @@ def as_key(self): return self.position + 10000 + def is_float(self): + return type == FLOAT + def imm(i): return ImmLocation(i) _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit