-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[vm,dart2wasm,tfa] Handle 'Never' static type as unreachable in TFA
When building a data flow summary, break control and data flow after invocations with static result type 'Never', expressing that code after such invocation is unreachable. TEST=pkg/vm/testcases/transformations/type_flow/summary_collector/control_flow.dart Issue: #59941 Change-Id: I2e5acd861e4192bae231d356aeacf921a14766f5 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/405443 Reviewed-by: Slava Egorov <[email protected]> Commit-Queue: Alexander Markov <[email protected]>
- Loading branch information
1 parent
bf35086
commit 11ea496
Showing
3 changed files
with
39 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters