diff options
author | Matthias Braun <matze@braunis.de> | 2016-05-03 00:24:32 +0000 |
---|---|---|
committer | Matthias Braun <matze@braunis.de> | 2016-05-03 00:24:32 +0000 |
commit | d1aabb28134a7e72ce4d6ac26b093648f5c57e88 (patch) | |
tree | 2442763e87b35507f5fc54eb68af0e6ff1d6a223 /llvm/lib/Target/ARM/Thumb1FrameLowering.cpp | |
parent | a4e71bd11a8cbec276460bb3db47283fc3b05428 (diff) | |
download | llvm-d1aabb28134a7e72ce4d6ac26b093648f5c57e88.zip llvm-d1aabb28134a7e72ce4d6ac26b093648f5c57e88.tar.gz llvm-d1aabb28134a7e72ce4d6ac26b093648f5c57e88.tar.bz2 |
livePhysRegs: Pass MBB by reference in addLive{Ins|Outs}(); NFC
The block must no be nullptr for the addLiveIns()/addLiveOuts()
function.
llvm-svn: 268340
Diffstat (limited to 'llvm/lib/Target/ARM/Thumb1FrameLowering.cpp')
-rw-r--r-- | llvm/lib/Target/ARM/Thumb1FrameLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/Thumb1FrameLowering.cpp b/llvm/lib/Target/ARM/Thumb1FrameLowering.cpp index ed74d20..31828a3 100644 --- a/llvm/lib/Target/ARM/Thumb1FrameLowering.cpp +++ b/llvm/lib/Target/ARM/Thumb1FrameLowering.cpp @@ -467,7 +467,7 @@ bool Thumb1FrameLowering::emitPopSpecialFixUp(MachineBasicBlock &MBB, // Look for a temporary register to use. // First, compute the liveness information. LivePhysRegs UsedRegs(STI.getRegisterInfo()); - UsedRegs.addLiveOuts(&MBB); + UsedRegs.addLiveOuts(MBB); // The semantic of pristines changed recently and now, // the callee-saved registers that are touched in the function // are not part of the pristines set anymore. |