Index: src/ia32/code-stubs-ia32.cc |
diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc |
index 325e9b78a457d760baf1b3b4bed98e4588c4c7c2..aa533bf836bffd4c551f894eef6b98b420f2bb5a 100644 |
--- a/src/ia32/code-stubs-ia32.cc |
+++ b/src/ia32/code-stubs-ia32.cc |
@@ -4637,7 +4637,6 @@ static void GenerateRecordCallTargetNoArray(MacroAssembler* masm) { |
// megamorphic. |
// ebx : cache cell for call target |
// edi : the function to call |
- ASSERT(!FLAG_optimize_constructed_arrays); |
Isolate* isolate = masm->isolate(); |
Label initialize, done; |
@@ -4778,11 +4777,7 @@ void CallFunctionStub::Generate(MacroAssembler* masm) { |
__ j(not_equal, &slow); |
if (RecordCallTarget()) { |
- if (FLAG_optimize_constructed_arrays) { |
- GenerateRecordCallTarget(masm); |
- } else { |
- GenerateRecordCallTargetNoArray(masm); |
- } |
+ GenerateRecordCallTargetNoArray(masm); |
} |
// Fast-case: Just invoke the function. |