projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2dcc91
)
References cannot be bound to null.
author
Joerg Sonnenberger
<joerg@bec.de>
Thu, 17 Jul 2014 22:30:09 +0000
(22:30 +0000)
committer
Joerg Sonnenberger
<joerg@bec.de>
Thu, 17 Jul 2014 22:30:09 +0000
(22:30 +0000)
llvm-svn: 213323
lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp
patch
|
blob
|
history
diff --git
a/lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp
b/lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp
index
bf8e178
..
f68fd5a
100644
(file)
--- a/
lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp
+++ b/
lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp
@@
-61,8
+61,6
@@
class RefNameBuilder {
public:
RefNameBuilder(const lld::File &file)
: _collisionCount(0), _unnamedCounter(0) {
- if (&file == nullptr)
- return;
// visit all atoms
for (const lld::DefinedAtom *atom : file.defined()) {
// Build map of atoms names to detect duplicates