| Index: src/x87/code-stubs-x87.cc
|
| diff --git a/src/x87/code-stubs-x87.cc b/src/x87/code-stubs-x87.cc
|
| index bf1818c3e6fd95bf908bde4f838ad80d753c7656..6d6aedfdd3264e3c88cd7f4834badf5cae9e0c5f 100644
|
| --- a/src/x87/code-stubs-x87.cc
|
| +++ b/src/x87/code-stubs-x87.cc
|
| @@ -1239,8 +1239,8 @@ void RegExpExecStub::Generate(MacroAssembler* masm) {
|
| // (5b) Is subject external? If yes, go to (8).
|
| __ test_b(ebx, kStringRepresentationMask);
|
| // The underlying external string is never a short external string.
|
| - STATIC_CHECK(ExternalString::kMaxShortLength < ConsString::kMinLength);
|
| - STATIC_CHECK(ExternalString::kMaxShortLength < SlicedString::kMinLength);
|
| + STATIC_ASSERT(ExternalString::kMaxShortLength < ConsString::kMinLength);
|
| + STATIC_ASSERT(ExternalString::kMaxShortLength < SlicedString::kMinLength);
|
| __ j(not_zero, &external_string); // Go to (8).
|
|
|
| // eax: sequential subject string (or look-alike, external string)
|
| @@ -3140,7 +3140,7 @@ void SubStringStub::Generate(MacroAssembler* masm) {
|
|
|
| // Handle external string.
|
| // Rule out short external strings.
|
| - STATIC_CHECK(kShortExternalStringTag != 0);
|
| + STATIC_ASSERT(kShortExternalStringTag != 0);
|
| __ test_b(ebx, kShortExternalStringMask);
|
| __ j(not_zero, &runtime);
|
| __ mov(edi, FieldOperand(edi, ExternalString::kResourceDataOffset));
|
|
|