Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(230)

Unified Diff: src/execution.h

Issue 1359583002: [builtins] Add support for NewTarget to Execution::New. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE. Merge mips and mips64 ports. Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/builtins.h ('k') | src/execution.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/execution.h
diff --git a/src/execution.h b/src/execution.h
index 51fe3d32c00ff8f51902c917c52241c28e918e91..5c25082a66e21e6baf81c9391d075db09b5b50fc 100644
--- a/src/execution.h
+++ b/src/execution.h
@@ -31,13 +31,12 @@ class Execution final : public AllStatic {
Handle<Object> argv[]);
// Construct object from function, the caller supplies an array of
- // arguments. Arguments are Object* type. After function returns,
- // pointers in 'args' might be invalid.
- //
- // *pending_exception tells whether the invoke resulted in
- // a pending exception.
- //
- MUST_USE_RESULT static MaybeHandle<Object> New(Handle<JSFunction> func,
+ // arguments.
+ MUST_USE_RESULT static MaybeHandle<Object> New(Handle<JSFunction> constructor,
+ int argc,
+ Handle<Object> argv[]);
+ MUST_USE_RESULT static MaybeHandle<Object> New(Handle<JSFunction> constructor,
+ Handle<JSFunction> new_target,
int argc,
Handle<Object> argv[]);
« no previous file with comments | « src/builtins.h ('k') | src/execution.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698