Index: src/arm64/codegen-arm64.cc |
diff --git a/src/arm64/codegen-arm64.cc b/src/arm64/codegen-arm64.cc |
index 16b6d3b1882ffc52d2afc0b33111d06ba2412189..91eaba79571a538ace9f83643f71f1657eac72a2 100644 |
--- a/src/arm64/codegen-arm64.cc |
+++ b/src/arm64/codegen-arm64.cc |
@@ -485,15 +485,15 @@ 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); |
- __ TestAndBranchIfAnySet(result, kStringEncodingMask, &ascii); |
+ __ TestAndBranchIfAnySet(result, kStringEncodingMask, &one_byte); |
// Two-byte string. |
__ Ldrh(result, MemOperand(string, index, SXTW, 1)); |
__ B(&done); |
- __ Bind(&ascii); |
- // Ascii string. |
+ __ Bind(&one_byte); |
+ // One-byte string. |
__ Ldrb(result, MemOperand(string, index, SXTW)); |
__ Bind(&done); |
} |