Commit 18e6776
[compiler][wasm] Fix endless loop in WasmTyper
The graph builder was applying a TypeGuard into the wrong control chain.
In this case the br_on_non_null implementation added a TypeGuard for
the non-null type before performing the actual branch.
The br_on_non_null target is anyways going to merge controls with some
other branch and Turboshaft is hopefully making all this code oboslete
soon, so the easiest and safest fix is to drop the TypeGuard
completely.
Fixed: 361862737
Change-Id: Ifc1c34ab726576b861d3d5dc6f6a9d20e93d4af0
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/5826664
Auto-Submit: Matthias Liedtke <[email protected]>
Reviewed-by: Jakob Kummerow <[email protected]>
Commit-Queue: Jakob Kummerow <[email protected]>
Cr-Commit-Position: refs/heads/main@{#95897}1 parent 94cb51a commit 18e6776
2 files changed
Lines changed: 32 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1206 | 1206 | | |
1207 | 1207 | | |
1208 | 1208 | | |
1209 | | - | |
1210 | | - | |
| 1209 | + | |
1211 | 1210 | | |
1212 | 1211 | | |
1213 | 1212 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
0 commit comments