Commit 94e7582
committed
[IRGen] This ArtificialLoc requires a debug scope.
An `IRGenFunction` may not have a debug scope--for example, a dispatch
thunk--but creating an `AritificalLocation` requires one. Only create
an `ArtificalLocation` here if the `IRGenFunction` has one.
Unfortunately, I don't have an isolated test case. Fixes a compiler
crash.1 parent 94b40d1 commit 94e7582
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5023 | 5023 | | |
5024 | 5024 | | |
5025 | 5025 | | |
5026 | | - | |
5027 | | - | |
| 5026 | + | |
| 5027 | + | |
| 5028 | + | |
| 5029 | + | |
| 5030 | + | |
5028 | 5031 | | |
5029 | 5032 | | |
5030 | 5033 | | |
| |||
0 commit comments