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

Unified Diff: src/code-stub-assembler.h

Issue 2567033003: [promises] Port CreateResolvingFunctions to TF (Closed)
Patch Set: cleanup 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-stub-assembler.h
diff --git a/src/code-stub-assembler.h b/src/code-stub-assembler.h
index 52b27fa964f7ab31557b76af379a3db5357691da..1bc40ea1fb8097f57195394d5440578a5389b6ca 100644
--- a/src/code-stub-assembler.h
+++ b/src/code-stub-assembler.h
@@ -1079,9 +1079,16 @@ class V8_EXPORT_PRIVATE CodeStubAssembler : public compiler::CodeAssembler {
Node* ElementOffsetFromIndex(Node* index, ElementsKind kind,
ParameterMode mode, int base_size = 0);
+ Node* AllocateFunctionWithMapAndContext(Node* map, Node* shared_info,
+ Node* context);
+
// Promise helpers
Node* IsPromiseHookEnabled();
+ Node* CreatePromiseResolvingFunctionsContext(Node* promise, Node* debug_event,
+ Node* native_context);
+ std::pair<Node*, Node*> CreatePromiseResolvingFunctions(
+ Node* promise, Node* native_context, Node* promise_context);
Node* AllocateJSPromise(Node* context);
void PromiseInit(Node* promise);

Powered by Google App Engine
This is Rietveld 408576698