Revert "Address @gribozavr comments to 273b1495834bcc650642aec523dd0504f8623cfa"

This reverts commit 062d14b422.

Revert "Fix a swift argument initialization bug - swift argument should be initialized"

This reverts commit 273b149583.

This breaks DebugAssert as well as REPL builds. Revert to appease the bots while i
look further.
This commit is contained in:
Xin Tong
2016-01-29 07:57:32 -08:00
parent d887d823ef
commit d3c6d1f6d7
19 changed files with 142 additions and 165 deletions

View File

@@ -84,6 +84,10 @@ public func testTopLevel() {
#endif
}
// CHECK-LABEL: define linkonce_odr hidden %swift.type* @_TMaCSo12__PrivFooSub{{.*}} {
// CHECK: %objc_class* @"OBJC_CLASS_$_PrivFooSub"
// CHECK: }
// CHECK-LABEL: define linkonce_odr hidden {{.+}} @_TTOFCSo3BarcfT2__Vs5Int32_GSQS__
// CHECK: @"\01L_selector(init:)"
// CHECK-LABEL: define linkonce_odr hidden {{.+}} @_TTOFCSo3BarcfT9__twoArgsVs5Int325otherS0__GSQS__
@@ -93,13 +97,6 @@ public func testTopLevel() {
// CHECK-LABEL: define linkonce_odr hidden {{.+}} @_TTOFCSo3BarcfT8__noArgsT__GSQS__
// CHECK: @"\01L_selector(initWithNoArgs)"
// CHECK-LABEL: define linkonce_odr hidden %swift.type* @_TMaCSo12__PrivFooSub{{.*}} {
// CHECK: %objc_class* @"OBJC_CLASS_$_PrivFooSub"
// CHECK: }
_ = __PrivAnonymousA
_ = __E0PrivA
_ = __PrivE1A as __PrivE1