mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Performance annotations: add attributes @_noLocks and @_noAllocation
This commit is contained in:
@@ -187,6 +187,7 @@ void SILFunction::init(SILLinkage Linkage, StringRef Name,
|
||||
this->IsStaticallyLinked = false;
|
||||
this->IsWithoutActuallyEscapingThunk = false;
|
||||
this->OptMode = unsigned(OptimizationMode::NotSet);
|
||||
this->perfConstraints = PerformanceConstraints::None;
|
||||
this->EffectsKindAttr = unsigned(E);
|
||||
assert(!Transparent || !IsDynamicReplaceable);
|
||||
validateSubclassScope(classSubclassScope, isThunk, nullptr);
|
||||
|
||||
Reference in New Issue
Block a user