commit | ed7a4ba53481007a5d80e5588b5a9191950349f0 | [log] [tgz] |
---|---|---|
author | Davide Italiano <davide@freebsd.org> | Wed Jan 13 04:11:36 2016 +0000 |
committer | Davide Italiano <davide@freebsd.org> | Wed Jan 13 04:11:36 2016 +0000 |
tree | 1f72935f2c59f34a3f5b72e69e79917a69c1932b | |
parent | 805ea3283576c755fc1e8bf19872dbb1c8436fca [diff] |
[llvm-readobj] Remove dead code. Add an assertion instead. When we arrive at the end of the function, the validation of the object has been done already. In theory, so, we should never arrive here with something broken as the object isn't mutated. Practice sometimes proves theory to be wrong, so leave an assertion instead, as suggested by David Blaikie, to catch bugs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257570 91177308-0d34-0410-b5e6-96231b3b80d8