mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Add an emergency exit to avoid bad compile time problems in rare corner cases. The introduced limit is more than enough for "real world" code. Even large functions have < 100 locations. But in some corner cases - especially in generated code - we can run into quadratic complexity for large functions without that limit. Fixes a compile time problem. Unfortunately I don't have isolated test cases for these problems. rdar://106516360
47 KiB
47 KiB