[Disassembler] Simplify a few methods (NFC)
authorJonas Devlieghere <jonas@devlieghere.com>
Wed, 4 Sep 2019 22:38:20 +0000 (22:38 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Wed, 4 Sep 2019 22:38:20 +0000 (22:38 +0000)
commit4be6706eb6af66b06e39cd0cfabaa09dd42eb95a
treee355894d3790589e02039c16978d47c006d61060
parent71c37a8fdaa8c5abbb3c614576659e5a948781e6
[Disassembler] Simplify a few methods (NFC)

Use early returns to highlight preconditions and make the code easier to
follow.

llvm-svn: 370994
lldb/include/lldb/Symbol/SymbolContext.h
lldb/source/Core/Disassembler.cpp
lldb/source/Symbol/SymbolContext.cpp