mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[cxx-interop][SwiftCompilerSources] Use swift::BuiltinValueKind instead of BridgedBuiltinID
rdar://83361087
This commit is contained in:
@@ -124,7 +124,7 @@ private struct StackProtectionOptimization {
|
||||
mustFixStackNesting: inout Bool, _ context: PassContext) {
|
||||
|
||||
// `withUnsafeTemporaryAllocation(of:capacity:_:)` is compiled to a `builtin "stackAlloc"`.
|
||||
if let bi = instruction as? BuiltinInst, bi.id == .stackAlloc {
|
||||
if let bi = instruction as? BuiltinInst, bi.id == .StackAlloc {
|
||||
function.setNeedsStackProtection(context)
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user