[llvm-commits] CVS: llvm/lib/Target/CBackend/Writer.cpp
Reid Spencer
reid at x10sys.com
Mon Dec 11 16:11:23 PST 2006
Changes in directory llvm/lib/Target/CBackend:
Writer.cpp updated: 1.296 -> 1.297
---
Log message:
Fix the BitCastUnion type for 32-bit targets.
---
Diffs of the changes: (+6 -6)
Writer.cpp | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
Index: llvm/lib/Target/CBackend/Writer.cpp
diff -u llvm/lib/Target/CBackend/Writer.cpp:1.296 llvm/lib/Target/CBackend/Writer.cpp:1.297
--- llvm/lib/Target/CBackend/Writer.cpp:1.296 Mon Dec 11 14:39:15 2006
+++ llvm/lib/Target/CBackend/Writer.cpp Mon Dec 11 18:11:08 2006
@@ -1510,12 +1510,12 @@
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.
More information about the llvm-commits
mailing list