Index: src/mips64/code-stubs-mips64.cc |
diff --git a/src/mips64/code-stubs-mips64.cc b/src/mips64/code-stubs-mips64.cc |
index 3da48e9cbbc65e107cebee23dcc3ed2651795030..575e7556013ef56311e5e97e12d29e0bbe8c6a90 100644 |
--- a/src/mips64/code-stubs-mips64.cc |
+++ b/src/mips64/code-stubs-mips64.cc |
@@ -1742,9 +1742,6 @@ void RegExpExecStub::Generate(MacroAssembler* masm) { |
__ lbu(a0, FieldMemOperand(a0, Map::kInstanceTypeOffset)); |
STATIC_ASSERT(kSeqStringTag == 0); |
__ And(at, a0, Operand(kStringRepresentationMask)); |
- // The underlying external string is never a short external string. |
- STATIC_ASSERT(ExternalString::kMaxShortLength < ConsString::kMinLength); |
- STATIC_ASSERT(ExternalString::kMaxShortLength < SlicedString::kMinLength); |
__ Branch(&external_string, ne, at, Operand(zero_reg)); // Go to (7). |
// (5) Sequential string. Load regexp code according to encoding. |