Skip to content

Commit debeb00

Browse files
authored
Merge pull request #16041 from slavapestov/fix-lonely-no-assert-build
Fix lonely no assert build
2 parents e1b70cd + 6f65d3d commit debeb00

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

test/IRGen/outlined_copy_addr.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ struct MyPrivate<T: P> {
3737
var otherHelper: OtherInternal<T>? = nil
3838

3939
// CHECK-LABEL: define hidden swiftcc {{i32|i64}} @"$S11outcopyaddr9MyPrivateVyACyxGxcfC"(%swift.opaque* noalias nocapture, %swift.type* %T, i8** %T.P) {{.*}} {
40-
// CHECK: call %T11outcopyaddr9MyPrivateV* @"$S11outcopyaddr9MyPrivateVyxGAA1PRzlWOh"(%T11outcopyaddr9MyPrivateV* %self)
40+
// CHECK: call %T11outcopyaddr9MyPrivateV* @"$S11outcopyaddr9MyPrivateVyxGAA1PRzlWOh"(%T11outcopyaddr9MyPrivateV* {{%.*}})
4141
// CHECK: ret
4242
init(_: T) { }
4343
}

validation-test/compiler_crashers_2/0153-rdar39130543.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// RUN: not --crash %target-swift-frontend %s -emit-ir
2+
// REQUIRES: asserts
23

34
protocol P20 { }
45

0 commit comments

Comments
 (0)