diff options
author | Chris Lattner <sabre@nondot.org> | 2009-11-12 08:04:33 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-11-12 08:04:33 +0000 |
commit | 9184646509d015ea66e796113a8c68598681374b (patch) | |
tree | 73cf5f23fc479b16578081672a4d4dd6c253550b /lib/Basic/Targets.cpp | |
parent | 6907943901e0aae5be7618c36c0f8275634e6ab5 (diff) |
do not store wchar/char16/char32/intmax width/alignment info
into TargetInfo, just derive this based on the underlying type.
This prevents them from getting out of synch, patch by Ken Dyck!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86976 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/Targets.cpp')
-rw-r--r-- | lib/Basic/Targets.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp index 4ee377e275..d1888df8c3 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp @@ -962,7 +962,6 @@ public: : X86_32TargetInfo(triple) { TLSSupported = false; WCharType = UnsignedShort; - WCharWidth = WCharAlign = 16; DoubleAlign = LongLongAlign = 64; DescriptionString = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-" "i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-" @@ -1033,7 +1032,6 @@ public: : X86_32TargetInfo(triple) { TLSSupported = false; WCharType = UnsignedShort; - WCharWidth = WCharAlign = 16; DoubleAlign = LongLongAlign = 64; DescriptionString = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-" "i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-" @@ -1092,7 +1090,6 @@ public: : X86_64TargetInfo(triple) { TLSSupported = false; WCharType = UnsignedShort; - WCharWidth = WCharAlign = 16; LongWidth = LongAlign = 32; DoubleAlign = LongLongAlign = 64; } @@ -1507,7 +1504,6 @@ namespace { TLSSupported = false; IntWidth = 16; LongWidth = LongLongWidth = 32; - IntMaxTWidth = 32; PointerWidth = 16; IntAlign = 8; LongAlign = LongLongAlign = 8; @@ -1575,7 +1571,6 @@ namespace { TLSSupported = false; IntWidth = 16; LongWidth = LongLongWidth = 32; - IntMaxTWidth = 32; PointerWidth = 16; IntAlign = 8; LongAlign = LongLongAlign = 8; @@ -1789,7 +1784,6 @@ namespace { TLSSupported = false; IntWidth = 32; LongWidth = LongLongWidth = 32; - IntMaxTWidth = 32; PointerWidth = 32; IntAlign = 32; LongAlign = LongLongAlign = 32; |