Index: src/code-stubs-hydrogen.cc |
diff --git a/src/code-stubs-hydrogen.cc b/src/code-stubs-hydrogen.cc |
index 3420c486b8085e0afd9eac8d1746cedbc243e749..8d0a45d857b6c4a033365782b2261cfdb2598858 100644 |
--- a/src/code-stubs-hydrogen.cc |
+++ b/src/code-stubs-hydrogen.cc |
@@ -309,7 +309,7 @@ HValue* CodeStubGraphBuilder<TransitionElementsKindStub>::BuildCodeStub() { |
AddInstruction(new(zone) HFixedArrayBaseLength(elements)); |
HValue* new_elements = |
- BuildAllocateElements(context(), to_kind, elements_length); |
+ BuildAllocateAndInitializeElements(context(), to_kind, elements_length); |
BuildCopyElements(context(), elements, |
casted_stub()->from_kind(), new_elements, |