Index: src/ia32/codegen-ia32.cc |
diff --git a/src/ia32/codegen-ia32.cc b/src/ia32/codegen-ia32.cc |
index eb6868729ba320f9ac8424c8ae51be4813163318..94df98ed9817a7423c231aa4cc92100658019c84 100644 |
--- a/src/ia32/codegen-ia32.cc |
+++ b/src/ia32/codegen-ia32.cc |
@@ -732,7 +732,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); |
__ test(result, Immediate(kStringEncodingMask)); |
__ j(not_zero, &ascii, Label::kNear); |