Index: src/full-codegen/full-codegen.cc |
diff --git a/src/full-codegen/full-codegen.cc b/src/full-codegen/full-codegen.cc |
index 063f3167939e156484ae3c500ca022e6a87f7c9c..a29b59cf1121b5207dd4b93630c4164724bca76e 100644 |
--- a/src/full-codegen/full-codegen.cc |
+++ b/src/full-codegen/full-codegen.cc |
@@ -158,7 +158,7 @@ |
ArrayLiteral* expr) const { |
// TODO(rossberg): Teach strong mode to FastCloneShallowArrayStub. |
return expr->depth() > 1 || expr->is_strong() || |
- expr->values()->length() > JSArray::kInitialMaxFastElementArray; |
+ expr->values()->length() > JSObject::kInitialMaxFastElementArray; |
} |