[cfe-commits] r94879 - /cfe/trunk/lib/Basic/Targets.cpp
Anton Korobeynikov
asl at math.spbu.ru
Sat Jan 30 04:55:11 PST 2010
Author: asl
Date: Sat Jan 30 06:55:11 2010
New Revision: 94879
URL: http://llvm.org/viewvc/llvm-project?rev=94879&view=rev
Log:
Fix alignment for msp430 integer types.
Modified:
cfe/trunk/lib/Basic/Targets.cpp
Modified: cfe/trunk/lib/Basic/Targets.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets.cpp?rev=94879&r1=94878&r2=94879&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Sat Jan 30 06:55:11 2010
@@ -1671,13 +1671,10 @@
public:
MSP430TargetInfo(const std::string& triple) : TargetInfo(triple) {
TLSSupported = false;
- IntWidth = 16;
- LongWidth = 32;
- LongLongWidth = 64;
- PointerWidth = 16;
- IntAlign = 8;
- LongAlign = LongLongAlign = 8;
- PointerAlign = 8;
+ IntWidth = 16; IntAlign = 16;
+ LongWidth = 32; LongLongWidth = 64;
+ LongAlign = LongLongAlign = 16;
+ PointerWidth = 16; PointerAlign = 16;
SizeType = UnsignedInt;
IntMaxType = SignedLong;
UIntMaxType = UnsignedLong;
More information about the cfe-commits
mailing list