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

Unified Diff: src/code-factory.cc

Issue 2572623002: PromiseHandle port to TF (Closed)
Patch Set: create TFS 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/code-factory.cc
diff --git a/src/code-factory.cc b/src/code-factory.cc
index de33be0215c3fec062f9fc19ffa6a7ebd99fe83b..0300a3d1c5ed4d6dc6ea45d2caad788cd9145c40 100644
--- a/src/code-factory.cc
+++ b/src/code-factory.cc
@@ -508,5 +508,10 @@ Callable CodeFactory::FunctionPrototypeBind(Isolate* isolate) {
BuiltinDescriptor(isolate));
}
+Callable CodeFactory::PromiseHandleReject(Isolate* isolate) {
+ return Callable(isolate->builtins()->PromiseHandleReject(),
+ PromiseHandleRejectDescriptor(isolate));
+}
+
} // namespace internal
} // namespace v8
« src/builtins/builtins-promise.cc ('K') | « src/code-factory.h ('k') | src/contexts.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698