Commit 6123e0e
[vm/inlining] Set try-index for inlined function after decision is made.
Delay setting try-index for callee flow graph until the decision to inline is made.
This avoids confusing situation when running optimization passes on callee, where InsideTryBlock reports that the instruction is in try block, but there is no try block in the flow graph.
TEST=ci
Change-Id: Ia9dfa8b53dda9ca259dc73d810e7a4344971b904
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/399320
Reviewed-by: Alexander Markov <[email protected]>
Commit-Queue: Alexander Aprelev <[email protected]>1 parent dc997e0 commit 6123e0e
File tree
4 files changed
+23
-23
lines changed- runtime/vm/compiler
- backend
4 files changed
+23
-23
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1399 | 1399 | | |
1400 | 1400 | | |
1401 | 1401 | | |
1402 | | - | |
1403 | | - | |
1404 | | - | |
1405 | | - | |
1406 | | - | |
1407 | | - | |
1408 | | - | |
1409 | | - | |
1410 | | - | |
1411 | | - | |
1412 | | - | |
1413 | 1402 | | |
1414 | 1403 | | |
1415 | 1404 | | |
| |||
1574 | 1563 | | |
1575 | 1564 | | |
1576 | 1565 | | |
1577 | | - | |
1578 | | - | |
1579 | | - | |
1580 | | - | |
| 1566 | + | |
| 1567 | + | |
| 1568 | + | |
| 1569 | + | |
| 1570 | + | |
| 1571 | + | |
1581 | 1572 | | |
1582 | 1573 | | |
1583 | 1574 | | |
| |||
2449 | 2440 | | |
2450 | 2441 | | |
2451 | 2442 | | |
2452 | | - | |
2453 | | - | |
| 2443 | + | |
| 2444 | + | |
| 2445 | + | |
2454 | 2446 | | |
2455 | 2447 | | |
2456 | 2448 | | |
2457 | 2449 | | |
2458 | 2450 | | |
2459 | 2451 | | |
2460 | 2452 | | |
2461 | | - | |
2462 | | - | |
| 2453 | + | |
| 2454 | + | |
| 2455 | + | |
| 2456 | + | |
| 2457 | + | |
| 2458 | + | |
| 2459 | + | |
2463 | 2460 | | |
2464 | 2461 | | |
2465 | 2462 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
121 | 123 | | |
122 | 124 | | |
123 | 125 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
393 | | - | |
394 | | - | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
395 | 396 | | |
396 | 397 | | |
397 | 398 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
0 commit comments