summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/DwarfWriter.cpp
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2006-03-08 18:11:07 +0000
committerJim Laskey <jlaskey@mac.com>2006-03-08 18:11:07 +0000
commit2698f0de7a07cd3b0e978c9b4f16bb27a29aa1da (patch)
treec9ac63d958a00405a99f049a7b0b58c91e188ff3 /llvm/lib/CodeGen/DwarfWriter.cpp
parent5005b01c201645582a867985231441c0770abced (diff)
downloadbcm5719-llvm-2698f0de7a07cd3b0e978c9b4f16bb27a29aa1da.tar.gz
bcm5719-llvm-2698f0de7a07cd3b0e978c9b4f16bb27a29aa1da.zip
Get rid of the multiple copies of getStringValue. Now a Constant:: method.
llvm-svn: 26616
Diffstat (limited to 'llvm/lib/CodeGen/DwarfWriter.cpp')
-rw-r--r--llvm/lib/CodeGen/DwarfWriter.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/DwarfWriter.cpp b/llvm/lib/CodeGen/DwarfWriter.cpp
index 99beaf35510..ce82d974886 100644
--- a/llvm/lib/CodeGen/DwarfWriter.cpp
+++ b/llvm/lib/CodeGen/DwarfWriter.cpp
@@ -1244,7 +1244,6 @@ DIE *DwarfWriter::NewBasicType(DIE *Context, Type *Ty) {
/// NewType - Create a new type DIE.
///
DIE *DwarfWriter::NewType(DIE *Context, TypeDesc *TyDesc) {
- // FIXME - hack to get around NULL types short term.
if (!TyDesc) return NewBasicType(Context, Type::IntTy);
// FIXME - Should handle other contexts that compile units.
OpenPOWER on IntegriCloud