Index: src/code-stubs-hydrogen.cc |
diff --git a/src/code-stubs-hydrogen.cc b/src/code-stubs-hydrogen.cc |
index eafc6d35a3826a1ab8b187b4045bf453143c760c..dc2ae554bfcf801dd653a8bf81de8cf65a03723a 100644 |
--- a/src/code-stubs-hydrogen.cc |
+++ b/src/code-stubs-hydrogen.cc |
@@ -1215,7 +1215,7 @@ |
// trigger it. |
HValue* length = GetArgumentsLength(); |
HConstant* max_alloc_length = |
- Add<HConstant>(JSArray::kInitialMaxFastElementArray); |
+ Add<HConstant>(JSObject::kInitialMaxFastElementArray); |
HValue* checked_length = Add<HBoundsCheck>(length, max_alloc_length); |
// We need to fill with the hole if it's a smi array in the multi-argument |