projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee60d39
)
Simplify conditional.
author
Eric Christopher
<echristo@gmail.com>
Thu, 2 Jan 2014 21:03:22 +0000
(21:03 +0000)
committer
Eric Christopher
<echristo@gmail.com>
Thu, 2 Jan 2014 21:03:22 +0000
(21:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198350
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfUnit.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
b/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
index aa04a46676f22976762326b40d8d9ed1316fbb51..17eb5037d4e9b94b95d39bf0e693fd34347d19a7 100644
(file)
--- a/
lib/CodeGen/AsmPrinter/DwarfUnit.cpp
+++ b/
lib/CodeGen/AsmPrinter/DwarfUnit.cpp
@@
-270,7
+270,7
@@
void DwarfCompileUnit::addLabelAddress(DIE *Die, dwarf::Attribute Attribute,
DD->addArangeLabel(SymbolCU(this, Label));
if (!DD->useSplitDwarf()) {
- if (Label
!= NULL
) {
+ if (Label) {
DIEValue *Value = new (DIEValueAllocator) DIELabel(Label);
Die->addValue(Attribute, dwarf::DW_FORM_addr, Value);
} else {