summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
diff options
context:
space:
mode:
authorDavide Italiano <davide@freebsd.org>2016-01-13 04:11:36 +0000
committerDavide Italiano <davide@freebsd.org>2016-01-13 04:11:36 +0000
commit25d84580f4875364bfa5c6505039c80f0df0eb26 (patch)
treea86fa778db4bdbb76b62db506b974e8c794be265 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
parent50018d3cf5fde93b249e3e7828b49ae6ec332fa9 (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. llvm-svn: 257570
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions