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

Unified Diff: src/builtins.h

Issue 1910253005: [api] Expose FunctionCallbackInfo::NewTarget (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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
Index: src/builtins.h
diff --git a/src/builtins.h b/src/builtins.h
index e01f95916db794b8251576bf6ff8183f93f808bc..94277cb8aad26ee9ca898f26f191ae79e34dd972 100644
--- a/src/builtins.h
+++ b/src/builtins.h
@@ -161,7 +161,7 @@ inline bool operator&(BuiltinExtraArguments lhs, BuiltinExtraArguments rhs) {
V(SymbolConstructor_ConstructStub, kTarget) \
\
V(HandleApiCall, kTarget) \
- V(HandleApiCallConstruct, kTarget) \
+ V(HandleApiCallConstruct, kTargetAndNewTarget) \
Benedikt Meurer 2016/04/23 11:57:47 This is not sufficient, as the callsite is custom
Benedikt Meurer 2016/04/23 18:21:45 Actually this is nonsense. The JSConstructStubHelp
adamk 2016/04/25 22:59:55 Yup, this seems to work just fine.
V(HandleApiCallAsFunction, kNone) \
V(HandleApiCallAsConstructor, kNone) \
\

Powered by Google App Engine
This is Rietveld 408576698