Index: src/mips/codegen-mips.cc |
diff --git a/src/mips/codegen-mips.cc b/src/mips/codegen-mips.cc |
index fa504123e46627c05abb19d2d71f7f2b927ee39a..0ecac19b49219ffa2b06d1604b04746fe2b14fe3 100644 |
--- a/src/mips/codegen-mips.cc |
+++ b/src/mips/codegen-mips.cc |
@@ -1059,18 +1059,18 @@ void StringCharLoadGenerator::Generate(MacroAssembler* masm, |
__ Branch(call_runtime, ne, at, Operand(zero_reg)); |
__ lw(string, FieldMemOperand(string, ExternalString::kResourceDataOffset)); |
- Label ascii, done; |
+ Label one_byte, done; |
__ bind(&check_encoding); |
STATIC_ASSERT(kTwoByteStringTag == 0); |
__ And(at, result, Operand(kStringEncodingMask)); |
- __ Branch(&ascii, ne, at, Operand(zero_reg)); |
+ __ Branch(&one_byte, ne, at, Operand(zero_reg)); |
// Two-byte string. |
__ sll(at, index, 1); |
__ Addu(at, string, at); |
__ lhu(result, MemOperand(at)); |
__ jmp(&done); |
- __ bind(&ascii); |
- // Ascii string. |
+ __ bind(&one_byte); |
+ // One_byte string. |
__ Addu(at, string, index); |
__ lbu(result, MemOperand(at)); |
__ bind(&done); |