@@ -511,14 +511,10 @@ class IRGenModule {
511
511
llvm::IntegerType *Int1Ty; // / i1
512
512
llvm::IntegerType *Int8Ty; // / i8
513
513
llvm::IntegerType *Int16Ty; // / i16
514
- union {
515
- llvm::IntegerType *Int32Ty; // / i32
516
- llvm::IntegerType *RelativeAddressTy;
517
- };
518
- union {
519
- llvm::PointerType *Int32PtrTy; // / i32 *
520
- llvm::PointerType *RelativeAddressPtrTy;
521
- };
514
+ llvm::IntegerType *Int32Ty; // / i32
515
+ llvm::PointerType *Int32PtrTy; // / i32 *
516
+ llvm::IntegerType *RelativeAddressTy;
517
+ llvm::PointerType *RelativeAddressPtrTy;
522
518
llvm::IntegerType *Int64Ty; // / i64
523
519
union {
524
520
llvm::IntegerType *SizeTy; // / usually i32 or i64
@@ -541,7 +537,7 @@ class IRGenModule {
541
537
llvm::PointerType *WitnessTablePtrTy;
542
538
};
543
539
llvm::StructType *RefCountedStructTy;// / %swift.refcounted = type { ... }
544
- Size RefCountedStructSize; // / sizeof(%swift.refcounted)
540
+ Size RefCountedStructSize; // / sizeof(%swift.refcounted)
545
541
llvm::PointerType *RefCountedPtrTy; // / %swift.refcounted*
546
542
#define CHECKED_REF_STORAGE (Name, ...) \
547
543
llvm::PointerType *Name##ReferencePtrTy; // / %swift. #name _reference*
@@ -569,11 +565,11 @@ class IRGenModule {
569
565
llvm::PointerType *ProtocolDescriptorPtrTy; // / %swift.protocol*
570
566
llvm::StructType *ProtocolRequirementStructTy; // / %swift.protocol_requirement
571
567
union {
572
- llvm::PointerType *ObjCPtrTy; // / %objc_object*
568
+ llvm::PointerType *ObjCPtrTy; // / %objc_object*
573
569
llvm::PointerType *UnknownRefCountedPtrTy;
574
570
};
575
- llvm::PointerType *BridgeObjectPtrTy; // / %swift.bridge*
576
- llvm::StructType *OpaqueTy; // / %swift.opaque
571
+ llvm::PointerType *BridgeObjectPtrTy;// / %swift.bridge*
572
+ llvm::StructType *OpaqueTy; // / %swift.opaque
577
573
llvm::PointerType *OpaquePtrTy; // / %swift.opaque*
578
574
llvm::StructType *ObjCClassStructTy; // / %objc_class
579
575
llvm::PointerType *ObjCClassPtrTy; // / %objc_class*
0 commit comments