Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 0fe0173428534f77253488f03cd10dea7049f436..870aa83ae89c275b7fc6ebc4c6260c5a14f1b0ed 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -8873,7 +8873,7 @@ void HOptimizedGraphBuilder::VisitCallNew(CallNew* expr) { |
Handle<Cell> cell = expr->allocation_info_cell(); |
AddInstruction(new(zone()) HCheckFunction(constructor, array_function)); |
call = new(zone()) HCallNewArray(context, constructor, argument_count, |
- cell); |
+ cell, expr->elements_kind()); |
} else { |
call = new(zone()) HCallNew(context, constructor, argument_count); |
} |