Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions include/swift/AST/InFlightSubstitution.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ class InFlightSubstitution {
LookupConformanceFn BaselineLookupConformance;
SubstOptions Options;
RecursiveTypeProperties Props;
unsigned RemainingCount : 15;
unsigned RemainingCount : 31;
unsigned InitLimit : 1;
unsigned RemainingDepth : 15;
unsigned RemainingDepth : 31;
unsigned LimitReached : 1;

struct ActivePackExpansion {
Expand Down
4 changes: 2 additions & 2 deletions include/swift/Basic/LangOptions.h
Original file line number Diff line number Diff line change
Expand Up @@ -615,11 +615,11 @@ namespace swift {

/// Maximum nesting depth for type substitution operations, to prevent
/// runaway recursion.
unsigned MaxSubstitutionDepth = 1000;
unsigned MaxSubstitutionDepth = 500;

/// Maximum step count for type substitution operations, to prevent
/// runaway recursion.
unsigned MaxSubstitutionCount = 32000;
unsigned MaxSubstitutionCount = 120000;

/// Enable implicit lifetime dependence for ~Escapable return types.
bool EnableExperimentalLifetimeDependenceInference = false;
Expand Down