Index: src/arm64/code-stubs-arm64.cc |
diff --git a/src/arm64/code-stubs-arm64.cc b/src/arm64/code-stubs-arm64.cc |
index 7ab05f13dfb31172c23def58860ba8f1f13e9115..1b939af64bd530466e9ac778a03c2aee90911d6f 100644 |
--- a/src/arm64/code-stubs-arm64.cc |
+++ b/src/arm64/code-stubs-arm64.cc |
@@ -2721,8 +2721,8 @@ void RegExpExecStub::Generate(MacroAssembler* masm) { |
__ Ldrb(string_type, FieldMemOperand(x10, Map::kInstanceTypeOffset)); |
STATIC_ASSERT(kSeqStringTag == 0); |
// 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); |
__ TestAndBranchIfAnySet(string_type.X(), |
kStringRepresentationMask, |
&external_string); // Go to (7). |