diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2006-12-12 00:11:08 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2006-12-12 00:11:08 +0000 |
commit | 2075374e2825639570bd470811175ed4d15800f4 (patch) | |
tree | c42b2ceb440d45ba08ed6041213dcecf40f9668a | |
parent | eb3e8d75dfbab5e39c4090d297389196623f2112 (diff) | |
download | bcm5719-llvm-2075374e2825639570bd470811175ed4d15800f4.tar.gz bcm5719-llvm-2075374e2825639570bd470811175ed4d15800f4.zip |
Fix the BitCastUnion type for 32-bit targets.
llvm-svn: 32453
-rw-r--r-- | llvm/lib/Target/CBackend/Writer.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/lib/Target/CBackend/Writer.cpp b/llvm/lib/Target/CBackend/Writer.cpp index 5d7f762efe9..96fc53948b3 100644 --- a/llvm/lib/Target/CBackend/Writer.cpp +++ b/llvm/lib/Target/CBackend/Writer.cpp @@ -1510,12 +1510,12 @@ void CWriter::printFloatingPointConstants(Function &F) { void CWriter::printModuleTypes(const SymbolTable &ST) { Out << "/* Helper union for bitcasts */\n"; Out << "typedef union {\n"; - Out << " unsigned int UInt;\n"; - Out << " signed int SInt;\n"; - Out << " unsigned long ULong;\n"; - Out << " signed long SLong;\n"; - Out << " float Float;\n"; - Out << " double Double;\n"; + Out << " unsigned int UInt;\n"; + Out << " signed int SInt;\n"; + Out << " unsigned long long ULong;\n"; + Out << " signed long long SLong;\n"; + Out << " float Float;\n"; + Out << " double Double;\n"; Out << "} llvmBitCastUnion;\n"; // We are only interested in the type plane of the symbol table. |