summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2006-03-01 18:13:05 +0000
committerJim Laskey <jlaskey@mac.com>2006-03-01 18:13:05 +0000
commit1246d5c0542aa80edd7ab8ad72fdad724081a2f4 (patch)
tree5bbf1d037a7ad47ecec237886a5821cabaf09ccf /llvm
parentb9ac4cba6678e99136cbcabf086db2683626daed (diff)
downloadbcm5719-llvm-1246d5c0542aa80edd7ab8ad72fdad724081a2f4.tar.gz
bcm5719-llvm-1246d5c0542aa80edd7ab8ad72fdad724081a2f4.zip
I guess I can handle large type sizes.
llvm-svn: 26452
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/CodeGen/DwarfWriter.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/DwarfWriter.cpp b/llvm/lib/CodeGen/DwarfWriter.cpp
index 951ac02c684..da4c75564a5 100644
--- a/llvm/lib/CodeGen/DwarfWriter.cpp
+++ b/llvm/lib/CodeGen/DwarfWriter.cpp
@@ -1058,8 +1058,7 @@ DIE *DwarfWriter::NewType(CompileUnit *Unit, TypeDesc *TyDesc) {
// Get core information.
const std::string &Name = TyDesc->getName();
- // FIXME - handle larger sizes.
- unsigned Size = TyDesc->getSize() >> 3;
+ uint64_t Size = TyDesc->getSize() >> 3;
DIE *Ty = NULL;
OpenPOWER on IntegriCloud