Index: src/ia32/lithium-ia32.cc |
diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc |
index 8cbdb319c7c0c938a73b84c9649924147fcdcd6d..de5234ff246d0878e5958ef3a1ed8e52bebd1f2e 100644 |
--- a/src/ia32/lithium-ia32.cc |
+++ b/src/ia32/lithium-ia32.cc |
@@ -1226,6 +1226,7 @@ LInstruction* LChunkBuilder::DoCallNew(HCallNew* instr) { |
LInstruction* LChunkBuilder::DoCallNewArray(HCallNewArray* instr) { |
+ ASSERT(FLAG_optimize_constructed_arrays); |
LOperand* context = UseFixed(instr->context(), esi); |
LOperand* constructor = UseFixed(instr->constructor(), edi); |
argument_count_ -= instr->argument_count(); |