summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-09-27 17:41:39 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-09-27 18:07:24 +0200
commit9b959b59dfaf87ba978480594d2cfcf15fe66218 (patch)
tree73a55dc47e7a2c3600ba74068939db752652573c /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parentc8abf1c12dc39f3b07b887808da4bb09d5ddbe3e (diff)
[LVI] Require context instruction in external API (NFCI)
Require CxtI in getConstant() and getConstantRange() APIs. Accordingly drop the BB parameter, as it is implied by CxtI->getParent(). This makes sure we don't forget to pass the context instruction, and makes the API contract clearer (also clean up the comments to that effect -- the value holds at the context instruction, not the end of the block).
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions