summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2010-03-08 18:25:48 +0000
committerDevang Patel <dpatel@apple.com>2010-03-08 18:25:48 +0000
commitfe28599f6f720ec90d50f07ae06086a5e1606496 (patch)
tree2432d34a7e55f999cc513fc718e49480adc9d7be /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
parentde4827dd340b77640b4cead98502148d8a5bcf70 (diff)
downloadbcm5719-llvm-fe28599f6f720ec90d50f07ae06086a5e1606496.tar.gz
bcm5719-llvm-fe28599f6f720ec90d50f07ae06086a5e1606496.zip
Avoid using DIDescriptor.isNull().
This is a first step towards eliminating unncessary constructor checks in light weight DIDescriptor wrappers. llvm-svn: 97947
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
index 55baa921006..14be2d7e0f8 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
@@ -346,7 +346,7 @@ class DwarfDebug : public DwarfPrinter {
DICompositeType *CTy);
/// constructEnumTypeDIE - Construct enum type DIE from DIEnumerator.
- DIE *constructEnumTypeDIE(DIEnumerator *ETy);
+ DIE *constructEnumTypeDIE(DIEnumerator ETy);
/// createGlobalVariableDIE - Create new DIE using GV.
DIE *createGlobalVariableDIE(const DIGlobalVariable &GV);
OpenPOWER on IntegriCloud