diff options
| author | Rui Ueyama <ruiu@google.com> | 2014-10-14 21:37:33 +0000 |
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2014-10-14 21:37:33 +0000 |
| commit | 82399f96ae92366042d23e2fdb9917971ad7ad4f (patch) | |
| tree | 167fe2636d59f7d3569eaa17a920795695168873 /llvm/lib/CodeGen/LiveDebugVariables.cpp | |
| parent | e1ebc76072219b354dd642d6c712d3600071395e (diff) | |
| download | bcm5719-llvm-82399f96ae92366042d23e2fdb9917971ad7ad4f.tar.gz bcm5719-llvm-82399f96ae92366042d23e2fdb9917971ad7ad4f.zip | |
Remove dead code.
Because we use cast<> at the beginning of this function, it will
abort there if a given atom is not a DefinedAtom.
In the switch statement, we checked if a given atom is a DefinedAtom
again by evaluating definition() == Atom::definitionRegular.
This was always true. So we can remove the outer switch statement.
llvm-svn: 219724
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions

