Index: src/arm/codegen-arm.cc |
diff --git a/src/arm/codegen-arm.cc b/src/arm/codegen-arm.cc |
index cdc40a48cf888291edbb231a6b35b302ca41fdc7..d050399532c6dd0b3ff95eddacee19f34acec51b 100644 |
--- a/src/arm/codegen-arm.cc |
+++ b/src/arm/codegen-arm.cc |
@@ -759,16 +759,16 @@ void StringCharLoadGenerator::Generate(MacroAssembler* masm, |
__ b(ne, call_runtime); |
__ ldr(string, FieldMemOperand(string, ExternalString::kResourceDataOffset)); |
- Label ascii, done; |
+ Label one_byte, done; |
__ bind(&check_encoding); |
STATIC_ASSERT(kTwoByteStringTag == 0); |
__ tst(result, Operand(kStringEncodingMask)); |
- __ b(ne, &ascii); |
+ __ b(ne, &one_byte); |
// Two-byte string. |
__ ldrh(result, MemOperand(string, index, LSL, 1)); |
__ jmp(&done); |
- __ bind(&ascii); |
- // Ascii string. |
+ __ bind(&one_byte); |
+ // One-byte string. |
__ ldrb(result, MemOperand(string, index)); |
__ bind(&done); |
} |