mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-27 16:17:17 +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:
@@ -563,7 +563,7 @@ void RALocal::AllocateBasicBlock(MachineBasicBlock &MBB) {
|
||||
// Otherwise, sequentially allocate each instruction in the MBB.
|
||||
while (MII != MBB.end()) {
|
||||
MachineInstr *MI = MII++;
|
||||
const TargetInstrDescriptor &TID = TII.get(MI->getOpcode());
|
||||
const TargetInstrDesc &TID = MI->getDesc();
|
||||
DEBUG(DOUT << "\nStarting RegAlloc of: " << *MI;
|
||||
DOUT << " Regs have values: ";
|
||||
for (unsigned i = 0; i != MRI->getNumRegs(); ++i)
|
||||
|
Reference in New Issue
Block a user