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

Unified Diff: src/promise-utils.h

Issue 2567333002: [promises] port NewPromiseCapability to TF (Closed)
Patch Set: Make gcmole happy Created 3 years, 12 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/objects-printer.cc ('k') | test/cctest/test-code-stub-assembler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/promise-utils.h
diff --git a/src/promise-utils.h b/src/promise-utils.h
index 740cd01836ac32608b00bfe153473a05cf77847d..ff7f508fee6971714bff1f935dfde5a6822f3b5e 100644
--- a/src/promise-utils.h
+++ b/src/promise-utils.h
@@ -40,6 +40,16 @@ class PromiseUtils : public AllStatic {
Handle<JSFunction>* resolve,
Handle<JSFunction>* reject);
};
+
+class GetPromiseCapabilityExecutor : public AllStatic {
+ public:
+ enum FunctionContextSlot {
+ kCapabilitySlot = Context::MIN_CONTEXT_SLOTS,
+
+ kContextLength,
+ };
+};
+
} // namespace internal
} // namespace v8
« no previous file with comments | « src/objects-printer.cc ('k') | test/cctest/test-code-stub-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698