Index: src/x64/codegen-x64.cc |
diff --git a/src/x64/codegen-x64.cc b/src/x64/codegen-x64.cc |
index 2924810c1e32af5ed80fc539a0593e5d3138d9df..80a8c20263a65ae856907e4c0ae9145a86dc2e49 100644 |
--- a/src/x64/codegen-x64.cc |
+++ b/src/x64/codegen-x64.cc |
@@ -551,7 +551,7 @@ void StringCharLoadGenerator::Generate(MacroAssembler* masm, |
// Dispatch on the encoding: ASCII or two-byte. |
Label ascii; |
__ bind(&seq_string); |
- STATIC_ASSERT((kStringEncodingMask & kAsciiStringTag) != 0); |
+ STATIC_ASSERT((kStringEncodingMask & kOneByteStringTag) != 0); |
STATIC_ASSERT((kStringEncodingMask & kTwoByteStringTag) == 0); |
__ testb(result, Immediate(kStringEncodingMask)); |
__ j(not_zero, &ascii, Label::kNear); |