Commit e138568
committed
Disable optimization
The inline labels optimization is no longer needed. It was also
incorrect. To verify: Compile classpath/AggregateClassPath with optimization to witness
a crash in the backend:
Key not found: case3
The optimization incorrectly eliminates the label even though it is called
twice by the generated code. maybe it does not detect case labels called with parameters?1 parent c97d783 commit e138568
File tree
1 file changed
+1
-1
lines changed- compiler/src/dotty/tools/dotc/transform/localopt
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
0 commit comments