aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/CBackend/Writer.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-12-12 00:11:08 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-12-12 00:11:08 +0000
commit22b36fb7ebc28e53e42edda099939523e871bcf5 (patch)
treeca03c30e42b2a84be7272f3e0be30fe67a4edebe /lib/Target/CBackend/Writer.cpp
parent4dfab986ab469744a3dfdcb0e0de5bbaa3d61c53 (diff)
Fix the BitCastUnion type for 32-bit targets.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32453 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/CBackend/Writer.cpp')
-rw-r--r--lib/Target/CBackend/Writer.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/Target/CBackend/Writer.cpp b/lib/Target/CBackend/Writer.cpp
index 5d7f762efe..96fc53948b 100644
--- a/lib/Target/CBackend/Writer.cpp
+++ b/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.