summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
diff options
context:
space:
mode:
authorNick Desaulniers <ndesaulniers@google.com>2020-04-21 08:25:18 -0700
committerNick Desaulniers <ndesaulniers@google.com>2020-04-21 08:31:20 -0700
commitd3fdafae0630ec7a5574ddda14f9e754c6426098 (patch)
treefb2392bd353f00087f96475bcc32f819d12b5bf7 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
parent658f33dcea4640c0766a9b3ad67004c900892506 (diff)
[InlineSpiller] simplify insertReload() NFC
Summary: The repeated use of std::next() on a MachineBasicBlock::iterator was clever, but we only need to reconstruct the iterator post creation of the spill instruction. This helps simplifying where we plan to place the spill, as discussed in D77849. From here, we can simplify the code a little by flipping the return code of a helper. Reviewers: efriedma Reviewed By: efriedma Subscribers: qcolombet, hiraditya, llvm-commits, srhines Tags: #llvm Differential Revision: https://reviews.llvm.org/D78520
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions