| Index: src/x64/lithium-codegen-x64.cc
|
| diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc
|
| index c182413c60f294c2d4db3b2416e07c00ad47b45f..25863ed08e71d4677795efa632cba03e0cb468c9 100644
|
| --- a/src/x64/lithium-codegen-x64.cc
|
| +++ b/src/x64/lithium-codegen-x64.cc
|
| @@ -3251,7 +3251,8 @@ void LCodeGen::DoStringCharCodeAt(LStringCharCodeAt* instr) {
|
|
|
| // Dispatch on the encoding: ASCII or two-byte.
|
| Label ascii_string;
|
| - STATIC_ASSERT(kAsciiStringTag != 0);
|
| + STATIC_ASSERT((kStringEncodingMask & kAsciiStringTag) != 0);
|
| + STATIC_ASSERT((kStringEncodingMask & kTwoByteStringTag) == 0);
|
| __ testb(result, Immediate(kStringEncodingMask));
|
| __ j(not_zero, &ascii_string, Label::kNear);
|
|
|
|
|