Bug 1215420 - IonMonkey: MIPS32: Fix FloatRegister::encoding. r=nbp
authorHeiher <r@hev.cc>
Sun, 25 Oct 2015 06:02:16 +0800
changeset 302789 2148987d7e46f5326ec82f837bb8b33d518a9921
parent 302788 ebd106bca18d38a40fbafb5ad5ec132b421854dc
child 302790 888b0896189183754bfe6a4cd83caae64011db54
push id5392
push userraliiev@mozilla.com
push dateMon, 14 Dec 2015 20:08:23 +0000
treeherdermozilla-beta@16ce8562a975 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnbp
bugs1215420
milestone44.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1215420 - IonMonkey: MIPS32: Fix FloatRegister::encoding. r=nbp --- js/src/jit/mips32/Architecture-mips32.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
js/src/jit/mips32/Architecture-mips32.h
--- a/js/src/jit/mips32/Architecture-mips32.h
+++ b/js/src/jit/mips32/Architecture-mips32.h
@@ -187,17 +187,17 @@ class FloatRegister : public FloatRegist
     FloatRegister asFloat32x4() const { MOZ_CRASH("NYI"); }
 
     Code code() const {
         MOZ_ASSERT(!isInvalid());
         return Code(code_  | (kind_ << 5));
     }
     Encoding encoding() const {
         MOZ_ASSERT(!isInvalid());
-        return Code(code_  | (kind_ << 5));
+        return Encoding(code_);
     }
     uint32_t id() const {
         return code_;
     }
     static FloatRegister FromCode(uint32_t i) {
         uint32_t code = i & 31;
         uint32_t kind = i >> 5;
         return FloatRegister(code, RegType(kind));