Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index bcb4cd49b7ddf8af12e69723e26f6cc98636fcc3..2a5769780adbf8c536a93984df27c8eea835be5c 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -9439,6 +9439,16 @@ class JSTypedArray: public JSArrayBufferView { |
static inline MaybeHandle<JSTypedArray> Validate(Isolate* isolate, |
Handle<Object> receiver, |
const char* method_name); |
+ // ES7 section 22.2.4.6 Create ( constructor, argumentList ) |
+ static MaybeHandle<JSTypedArray> Create(Isolate* isolate, |
+ Handle<JSFunction> default_ctor, |
+ int argc, Handle<Object>* argv, |
+ const char* method_name); |
+ // ES7 section 22.2.4.7 TypedArraySpeciesCreate ( exemplar, argumentList ) |
+ static MaybeHandle<JSTypedArray> SpeciesCreate(Isolate* isolate, |
+ Handle<JSTypedArray> exemplar, |
+ int argc, Handle<Object>* argv, |
+ const char* method_name); |
// Dispatched behavior. |
DECLARE_PRINTER(JSTypedArray) |