[INFER] Fix typos that were part of the build failure on ARM. (r=redness)
authorPaul Biggar <pbiggar@mozilla.com>
Wed, 23 Mar 2011 17:55:51 -0700
changeset 74844 23d22ab4808427f973ed40a1a8ed3db764e70563
parent 74843 7e3f5b742abe900ef2a21351418c122b609a8d72
child 74845 87cbe5b2742ab5d66e86d0bf3ef1a7f2f2efa33b
push id2
push userbsmedberg@mozilla.com
push dateFri, 19 Aug 2011 14:38:13 +0000
reviewersredness
milestone2.0b13pre
[INFER] Fix typos that were part of the build failure on ARM. (r=redness)
js/src/methodjit/MachineRegs.h
--- a/js/src/methodjit/MachineRegs.h
+++ b/js/src/methodjit/MachineRegs.h
@@ -313,17 +313,17 @@ struct Registers {
         ) << TotalRegisters;
     /* For shuffling FP values around, or loading GPRs into a FP reg. */
     static const FPRegisterID FPConversionTemp = JSC::X86Registers::xmm7;
 #elif defined(JS_CPU_ARM)
     static const uint32 TotalFPRegisters = 3;
     static const uint32 TempFPRegs = (
           (1 << JSC::ARMRegisters::d0)
         | (1 << JSC::ARMRegisters::d1)
-        | (1 << JSC::ARMRegisters::d2);
+        | (1 << JSC::ARMRegisters::d2)
         ) << TotalRegisters;
     static const FPRegisterID FPConversionTemp = JSC::ARMRegisters::d3;
 #else
 # error "Unsupported platform"
 #endif
 
     static const uint32 AvailFPRegs = TempFPRegs;
 
@@ -445,17 +445,17 @@ AnyRegisterID::fpreg()
 }
 
 const char *
 AnyRegisterID::name()
 {
 #if defined(JS_CPU_X86) || defined(JS_CPU_X64)
     return isReg() ? JSC::X86Registers::nameIReg(reg()) : JSC::X86Registers::nameFPReg(fpreg());
 #elif defined(JS_CPU_ARM)
-    return isreg() ? JSC::ARMAssembler::nameGpReg(reg()) : JSC::ARMAssembler::nameFpReg(fpreg());
+    return isReg() ? JSC::ARMAssembler::nameGpReg(reg()) : JSC::ARMAssembler::nameFpReg(fpreg());
 #else
     return "???";
 #endif
 }
 
 } /* namespace mjit */
 
 } /* namespace js */