Index: src/runtime/runtime-array.cc |
diff --git a/src/runtime/runtime-array.cc b/src/runtime/runtime-array.cc |
index d2f04c97624dab44fe60b36a1916f204221b4487..349bb622628a0156ad25591c97a3e12138a76b73 100644 |
--- a/src/runtime/runtime-array.cc |
+++ b/src/runtime/runtime-array.cc |
@@ -253,7 +253,7 @@ static Object* ArrayConstructorCommon(Isolate* isolate, |
can_use_type_feedback = false; |
} else if (value != 0) { |
holey = true; |
- if (value >= JSObject::kInitialMaxFastElementArray) { |
+ if (value >= JSArray::kInitialMaxFastElementArray) { |
can_inline_array_constructor = false; |
} |
} |