Index: src/arm/code-stubs-arm.cc |
diff --git a/src/arm/code-stubs-arm.cc b/src/arm/code-stubs-arm.cc |
index 20d4da5e7f64d08c1e7812839d51b36e00c87bbc..c15ecb245e5e24d4aca82ca9fe4ee91b91db4909 100644 |
--- a/src/arm/code-stubs-arm.cc |
+++ b/src/arm/code-stubs-arm.cc |
@@ -4588,7 +4588,6 @@ static void GenerateRecordCallTargetNoArray(MacroAssembler* masm) { |
// megamorphic. |
// r1 : the function to call |
// r2 : cache cell for call target |
- ASSERT(!FLAG_optimize_constructed_arrays); |
Label done; |
ASSERT_EQ(*TypeFeedbackCells::MegamorphicSentinel(masm->isolate()), |
@@ -4732,11 +4731,7 @@ void CallFunctionStub::Generate(MacroAssembler* masm) { |
__ b(ne, &slow); |
if (RecordCallTarget()) { |
- if (FLAG_optimize_constructed_arrays) { |
- GenerateRecordCallTarget(masm); |
- } else { |
- GenerateRecordCallTargetNoArray(masm); |
- } |
+ GenerateRecordCallTargetNoArray(masm); |
} |
// Fast-case: Invoke the function now. |