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

Unified Diff: src/builtins/builtins.h

Issue 2497523002: [promises] Move promise constructor to TFS (Closed)
Patch Set: fix test Created 4 years, 1 month 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/builtins.h
diff --git a/src/builtins/builtins.h b/src/builtins/builtins.h
index de061528be0a768c58fbf9fd6b89dabaed7a3caf..5aa87cdb31aafa6db3d63222346b14ed16366658 100644
--- a/src/builtins/builtins.h
+++ b/src/builtins/builtins.h
@@ -563,6 +563,9 @@ namespace internal {
TFS(ForInFilter, BUILTIN, kNoExtraICState, ForInFilter) \
\
/* Promise */ \
+ TFJ(PromiseConstructor, 1) \
+ TFJ(PromiseInternalConstructor, 0) \
+ TFJ(IsPromise, 1) \
caitp 2016/11/29 13:33:00 Maybe for the internal functions, we should skip t
gsathya 2016/12/01 20:03:53 AFAIK, this sets up the number of stack parameters
caitp 2016/12/01 20:12:37 well, what's going on with StringFromCharCode then
CPP(CreateResolvingFunctions) \
CPP(PromiseResolveClosure) \
CPP(PromiseRejectClosure) \

Powered by Google App Engine
This is Rietveld 408576698