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/1476880 Reviewed-by: Benedikt Meurer <bmeurer@chromium.org> Commit-Queue: Taiju Tsuiki <tzik@chromium.org> Cr-Commit-Position: refs/heads/master@{#59661}
This commit is contained in:
parent
5b957fa169
commit
4654561f7f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user