[turbofan] Fix Promise.resolve() lowering.
It seems that the Promise.resolve() lowering in JSCallReducer was no longer called. Bug: v8:7253 Change-Id: I3c80aed085d15fb54d88245b9d71b9caed7de075 Reviewed-on: https://chromium-review.googlesource.com/c/1288452 Reviewed-by: Maya Lekova <mslekova@chromium.org> Commit-Queue: Benedikt Meurer <bmeurer@chromium.org> Cr-Commit-Position: refs/heads/master@{#56773}
This commit is contained in:
parent
e9ac3ec88f
commit
d0ae91ee7e
@ -3663,6 +3663,8 @@ Reduction JSCallReducer::ReduceJSCall(Node* node,
|
||||
return ReducePromisePrototypeFinally(node);
|
||||
case Builtins::kPromisePrototypeThen:
|
||||
return ReducePromisePrototypeThen(node);
|
||||
case Builtins::kPromiseResolveTrampoline:
|
||||
return ReducePromiseResolveTrampoline(node);
|
||||
case Builtins::kMapPrototypeEntries:
|
||||
return ReduceCollectionIteration(node, CollectionKind::kMap,
|
||||
IterationKind::kEntries);
|
||||
|
Loading…
Reference in New Issue
Block a user