Unreviewed changes
1 is the latest approved patch-set.
The change was submitted with unreviewed changes in the following files:
```
The name of the file: test/mjsunit/regress/regress-474417795.js
Insertions: 2, Deletions: 2.
@@ -2,9 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// Flags: --allow-natives-syntax --jit-fuzzing --fuzzing
+// Flags: --jit-fuzzing
for (let __v_6 = 0; __v_6 < 87; __v_6++) {
async function* __f_3() { }
- %PrepareFunctionForOptimization(), __f_3(), __f_3(), %OptimizeFunctionOnNextCall(), __f_3().next();
+ __f_3(), __f_3(), __f_3().next();
}
```
```
The name of the file: src/maglev/maglev-graph.cc
Insertions: 5, Deletions: 2.
@@ -99,8 +99,11 @@
// BuildBody. We don't track context in generators (yet) and around eval
// the bytecode compiler creates contexts by calling
// Runtime::kNewFunctionInfo directly.
- DCHECK(context->Is<Phi>() || context->Is<GeneratorRestoreRegister>() ||
- context->Is<RegisterInput>() || context->Is<CallRuntime>());
+ DCHECK(
+ context->Is<Phi>() || context->Is<GeneratorRestoreRegister>() ||
+ context->Is<RegisterInput>() || context->Is<CallRuntime>() ||
+ (context->Is<LoadTaggedField>() &&
+ context->Cast<LoadTaggedField>()->load_type() == LoadType::kContext));
}
return scope_infos_[context] = res;
}
```
Change information
Commit message:
[maglev] Avoid is_osr dcheck for suspension
Bug: 474417795
Change-Id: Ia56259a7546dd82a42c345f325c32381b606f36c
Cr-Commit-Position: refs/heads/main@{#104609}
Files:
- M src/maglev/maglev-graph-builder.cc
- M src/maglev/maglev-graph.cc
- M src/maglev/maglev-graph.h
- A test/mjsunit/regress/regress-474417795.js
Change size: S
Delta: 4 files changed, 23 insertions(+), 7 deletions(-)
Branch: refs/heads/main
Submit Requirements:
Code-Review: +1 by Victor Gomes