Index: src/mips/code-stubs-mips.cc |
diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc |
index bd89d44a738acad641d4b425b40ec832af8e91bb..552797adb224d70a3e36b79ec18269ef291811e0 100644 |
--- a/src/mips/code-stubs-mips.cc |
+++ b/src/mips/code-stubs-mips.cc |
@@ -4971,7 +4971,6 @@ static void GenerateRecordCallTargetNoArray(MacroAssembler* masm) { |
// megamorphic. |
// a1 : the function to call |
// a2 : cache cell for call target |
- ASSERT(!FLAG_optimize_constructed_arrays); |
Label done; |
ASSERT_EQ(*TypeFeedbackCells::MegamorphicSentinel(masm->isolate()), |
@@ -5114,11 +5113,7 @@ void CallFunctionStub::Generate(MacroAssembler* masm) { |
__ Branch(&slow, ne, a3, Operand(JS_FUNCTION_TYPE)); |
if (RecordCallTarget()) { |
- if (FLAG_optimize_constructed_arrays) { |
- GenerateRecordCallTarget(masm); |
- } else { |
- GenerateRecordCallTargetNoArray(masm); |
- } |
+ GenerateRecordCallTargetNoArray(masm); |
} |
// Fast-case: Invoke the function now. |