Skip to content

Commit c0fd17a

Browse files
committed
Bump the ABI version for Swift 3.0.
This was previously bumped to move from Swift 1.2 to 2.0. Time for 3.0. Note, unlike last time (136965d), the CMakeLists.txt change already says 3.0 so that won't get changed here.
1 parent a9727db commit c0fd17a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/IRGen/IRGenModule.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ class IRGenModuleDispatcher {
310310
class IRGenModule {
311311
public:
312312
// The ABI version of the Swift data generated by this file.
313-
static const uint32_t swiftVersion = 3;
313+
static const uint32_t swiftVersion = 4;
314314

315315
ASTContext &Context;
316316
IRGenOptions &Opts;

test/IRGen/objc.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,5 +139,5 @@ class WeakObjC {
139139
// CHECK: i32 1, !"Objective-C Image Info Version", i32 0}
140140
// CHECK: i32 1, !"Objective-C Image Info Section", !"__DATA, __objc_imageinfo, regular, no_dead_strip"}
141141
// 512 == (2 << 8). 2 is the Swift ABI version.
142-
// CHECK: i32 4, !"Objective-C Garbage Collection", i32 768}
143-
// CHECK: i32 1, !"Swift Version", i32 3}
142+
// CHECK: i32 4, !"Objective-C Garbage Collection", i32 1024}
143+
// CHECK: i32 1, !"Swift Version", i32 4}

0 commit comments

Comments
 (0)