Commit 4654561f authored by tzik's avatar tzik Committed by Commit Bot

Fix parameter names of PromiseBuiltinsAssembler methods

Several parameter names of PromiseBuiltinsAssembler methods do not match
to its definition, which confuses readers of the code.

Change-Id: I8a43dd71b5a8d203cd040d754f8e650ecb203b82
Reviewed-on: https://chromium-review.googlesource.com/c/1476880Reviewed-by: 's avatarBenedikt Meurer <bmeurer@chromium.org>
Commit-Queue: Taiju Tsuiki <tzik@chromium.org>
Cr-Commit-Position: refs/heads/master@{#59661}
parent 5b957fa1
......@@ -47,8 +47,9 @@ class PromiseBuiltinsAssembler : public CodeStubAssembler {
Node* then, Node* thenable,
Node* context);
std::pair<Node*, Node*> CreatePromiseResolvingFunctions(
Node* promise, Node* native_context, Node* promise_context);
std::pair<Node*, Node*> CreatePromiseResolvingFunctions(Node* promise,
Node* debug_event,
Node* native_context);
Node* PromiseHasHandler(Node* promise);
......@@ -67,8 +68,8 @@ class PromiseBuiltinsAssembler : public CodeStubAssembler {
Node* CreatePromiseResolvingFunctionsContext(Node* promise, Node* debug_event,
Node* native_context);
Node* CreatePromiseGetCapabilitiesExecutorContext(Node* native_context,
Node* promise_capability);
Node* CreatePromiseGetCapabilitiesExecutorContext(Node* promise_capability,
Node* native_context);
protected:
void PromiseInit(Node* promise);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment