Index: src/x64/lithium-x64.cc |
diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc |
index 35a59147c6b1fdb46554596dbb7a174df7d23416..93ea6cf3bce7125addc8c96771b289999fc59a9e 100644 |
--- a/src/x64/lithium-x64.cc |
+++ b/src/x64/lithium-x64.cc |
@@ -1152,6 +1152,7 @@ LInstruction* LChunkBuilder::DoCallNew(HCallNew* instr) { |
LInstruction* LChunkBuilder::DoCallNewArray(HCallNewArray* instr) { |
+ ASSERT(FLAG_optimize_constructed_arrays); |
LOperand* constructor = UseFixed(instr->constructor(), rdi); |
argument_count_ -= instr->argument_count(); |
LCallNewArray* result = new(zone()) LCallNewArray(constructor); |