Index: src/compiler/js-typed-lowering.cc |
diff --git a/src/compiler/js-typed-lowering.cc b/src/compiler/js-typed-lowering.cc |
index f16aae8e9db3b8431620119a8831f04b78c63117..3b487eefc229f9b70ff8b3aa177f041ca25bf105 100644 |
--- a/src/compiler/js-typed-lowering.cc |
+++ b/src/compiler/js-typed-lowering.cc |
@@ -2733,7 +2733,7 @@ Node* JSTypedLowering::AllocateElements(Node* effect, Node* control, |
AllocationBuilder a(jsgraph(), effect, control); |
a.AllocateArray(capacity, elements_map, pretenure); |
for (int i = 0; i < capacity; ++i) { |
- Node* index = jsgraph()->Int32Constant(i); |
+ Node* index = jsgraph()->Constant(i); |
a.Store(access, index, value); |
} |
return a.Finish(); |