fix the type of wchar_t for windows, PR4417

llvm-svn: 74083
This commit is contained in:
Chris Lattner 2009-06-24 17:12:15 +00:00
parent 92c11e90c8
commit 46be2e1557
1 changed files with 1 additions and 1 deletions

View File

@ -930,7 +930,7 @@ public:
WindowsX86_32TargetInfo(const std::string& triple)
: X86_32TargetInfo(triple) {
TLSSupported = false;
WCharType = SignedShort;
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-"