mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-14 15:25:25 +00:00
rename TargetInstrDescriptor -> TargetInstrDesc.
Make MachineInstr::getDesc return a reference instead of a pointer, since it can never be null. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45695 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -535,7 +535,7 @@ bool LiveVariables::runOnMachineFunction(MachineFunction &mf) {
|
||||
|
||||
// Finally, if the last instruction in the block is a return, make sure to mark
|
||||
// it as using all of the live-out values in the function.
|
||||
if (!MBB->empty() && MBB->back().getDesc()->isReturn()) {
|
||||
if (!MBB->empty() && MBB->back().getDesc().isReturn()) {
|
||||
MachineInstr *Ret = &MBB->back();
|
||||
for (MachineRegisterInfo::liveout_iterator
|
||||
I = MF->getRegInfo().liveout_begin(),
|
||||
|
Reference in New Issue
Block a user