Index: src/factory.h |
diff --git a/src/factory.h b/src/factory.h |
index d18272661f1fcda5d672c8c4deb9f9445f69197a..e044a1f47dc7706c78eab97023c10e8fba72b849 100644 |
--- a/src/factory.h |
+++ b/src/factory.h |
@@ -449,20 +449,25 @@ class Factory final { |
Handle<JSGeneratorObject> NewJSGeneratorObject(Handle<JSFunction> function); |
Handle<JSArrayBuffer> NewJSArrayBuffer( |
- SharedFlag shared = SharedFlag::kNotShared); |
+ SharedFlag shared = SharedFlag::kNotShared, |
+ PretenureFlag pretenure = NOT_TENURED); |
- Handle<JSTypedArray> NewJSTypedArray(ExternalArrayType type); |
+ Handle<JSTypedArray> NewJSTypedArray(ExternalArrayType type, |
+ PretenureFlag pretenure = NOT_TENURED); |
- Handle<JSTypedArray> NewJSTypedArray(ElementsKind elements_kind); |
+ Handle<JSTypedArray> NewJSTypedArray(ElementsKind elements_kind, |
+ PretenureFlag pretenure = NOT_TENURED); |
// Creates a new JSTypedArray with the specified buffer. |
Handle<JSTypedArray> NewJSTypedArray(ExternalArrayType type, |
Handle<JSArrayBuffer> buffer, |
- size_t byte_offset, size_t length); |
+ size_t byte_offset, size_t length, |
+ PretenureFlag pretenure = NOT_TENURED); |
// Creates a new on-heap JSTypedArray. |
Handle<JSTypedArray> NewJSTypedArray(ElementsKind elements_kind, |
- size_t number_of_elements); |
+ size_t number_of_elements, |
+ PretenureFlag pretenure = NOT_TENURED); |
Handle<JSDataView> NewJSDataView(); |
Handle<JSDataView> NewJSDataView(Handle<JSArrayBuffer> buffer, |