Unreviewed changes
4 is the latest approved patch-set.
The change was submitted with unreviewed changes in the following files:
```
The name of the file: src/compiler/js-call-reducer.cc
Insertions: 2, Deletions: 3.
@@ -6787,9 +6787,8 @@
Node* is_smi = graph()->NewNode(simplified()->ObjectIsSmi(), receiver);
Node* is_not_smi = graph()->NewNode(simplified()->BooleanNot(), is_smi);
effect = graph()->NewNode(
- simplified()->CheckIf(DeoptimizeReason::kWrongInstanceType,
- p.feedback()),
- is_not_smi, effect, control);
+ simplified()->CheckIf(DeoptimizeReason::kSmi, p.feedback()), is_not_smi,
+ effect, control);
// 2. Check if receiver's InstanceType is JS_GENERATOR_OBJECT_TYPE.
Node* receiver_map = effect =
```
Change information
Commit message:
[turbofan] Accept megamorphic generator loads
... when inlining GeneratorPrototypeNext.
Bug: 491263706
Change-Id: I07c32a336d5dd73063ebd4a7425836311e424a68
Cr-Commit-Position: refs/heads/main@{#105723}
Files:
- M src/compiler/js-call-reducer.cc
Change size: S
Delta: 1 file changed, 30 insertions(+), 6 deletions(-)
Branch: refs/heads/main
Submit Requirements:
Code-Review: +1 by Darius Mercadier