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

Unified Diff: src/builtins/builtins.h

Issue 2541283002: [promises] Port ResolvePromise to TF (Closed)
Patch Set: fix nits Created 4 years 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 c220424373d2209585ef9280389d87d131d5a07f..6f2d8555c119441cd2a72702b185cfdb94d3736e 100644
--- a/src/builtins/builtins.h
+++ b/src/builtins/builtins.h
@@ -565,11 +565,12 @@ namespace internal {
TFJ(PromiseInternalConstructor, 0) \
TFJ(IsPromise, 1) \
CPP(CreateResolvingFunctions) \
- CPP(PromiseResolveClosure) \
+ TFJ(PromiseResolveClosure, 1) \
CPP(PromiseRejectClosure) \
TFJ(PromiseThen, 2) \
TFJ(PromiseCreateAndSet, 2) \
TFJ(PerformPromiseThen, 4) \
+ TFJ(ResolvePromise, 2) \
\
/* Proxy */ \
CPP(ProxyConstructor) \
« no previous file with comments | « src/bootstrapper.cc ('k') | src/builtins/builtins-promise.cc » ('j') | src/js/promise.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698