Bug 1279732 - "Fix comment typo in Assembler-mips64.cpp". r=arai
authorNomis101 <Nomis101@web.de>
Sat, 11 Jun 2016 10:41:45 +0200
changeset 377790 c0fc5f0d1173eed6936196d3e2202d160fb98f02
parent 377789 60b340e55efe365fb45afd8f5ca7f4b53a73b2dd
child 377791 ad997d64c829560be25c661cc6a313b966bea5f2
push id20857
push userbmo:james@hoppipolla.co.uk
push dateSun, 12 Jun 2016 16:59:39 +0000
reviewersarai
bugs1279732
milestone50.0a1
Bug 1279732 - "Fix comment typo in Assembler-mips64.cpp". r=arai
js/src/jit/mips64/Assembler-mips64.cpp
--- a/js/src/jit/mips64/Assembler-mips64.cpp
+++ b/js/src/jit/mips64/Assembler-mips64.cpp
@@ -265,17 +265,17 @@ Assembler::bind(InstImm* inst, uintptr_t
         addLongJump(BufferOffset(branch));
         Assembler::WriteLoad64Instructions(inst, ScratchRegister, target);
         inst[4] = InstReg(op_special, ScratchRegister, zero, ra, ff_jalr).encode();
         // There is 1 nop after this.
         return;
     }
 
     if (BOffImm16::IsInRange(offset)) {
-        // Don't skip trailing nops can imporve performance
+        // Don't skip trailing nops can improve performance
         // on Loongson3 platform.
         bool skipNops = !isLoongson() && (inst[0].encode() != inst_bgezal.encode() &&
                                           inst[0].encode() != inst_beq.encode());
 
         inst[0].setBOffImm16(BOffImm16(offset));
         inst[1].makeNop();
 
         if (skipNops) {