Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index ace7156f2564077e29a1d3ce0e98872817442a5c..a0e4c1699f5bad8e9fd27dc7c93397cc9aea9f4b 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -1633,11 +1633,11 @@ Handle<JSObject> Factory::NewJSObjectFromMap( |
Handle<JSArray> Factory::NewJSArray(ElementsKind elements_kind, |
- ObjectStrength strength, |
+ Strength strength, |
PretenureFlag pretenure) { |
Map* map = isolate()->get_initial_js_array_map(elements_kind, strength); |
if (map == nullptr) { |
- DCHECK(strength == WEAK); |
+ DCHECK(strength == Strength::WEAK); |
Context* native_context = isolate()->context()->native_context(); |
JSFunction* array_function = native_context->array_function(); |
map = array_function->initial_map(); |
@@ -1647,7 +1647,7 @@ Handle<JSArray> Factory::NewJSArray(ElementsKind elements_kind, |
Handle<JSArray> Factory::NewJSArray(ElementsKind elements_kind, int length, |
- int capacity, ObjectStrength strength, |
+ int capacity, Strength strength, |
ArrayStorageAllocationMode mode, |
PretenureFlag pretenure) { |
Handle<JSArray> array = NewJSArray(elements_kind, strength, pretenure); |
@@ -1658,8 +1658,7 @@ Handle<JSArray> Factory::NewJSArray(ElementsKind elements_kind, int length, |
Handle<JSArray> Factory::NewJSArrayWithElements(Handle<FixedArrayBase> elements, |
ElementsKind elements_kind, |
- int length, |
- ObjectStrength strength, |
+ int length, Strength strength, |
PretenureFlag pretenure) { |
DCHECK(length <= elements->length()); |
Handle<JSArray> array = NewJSArray(elements_kind, strength, pretenure); |