mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-25 10:27:04 +00:00
DebugInfo: remove target-specific Frame Index handling for DBG_VALUE MachineInstrs
Frame index handling is now target-agnostic, so delete the target hooks for creation & asm printing of target-specific addressing in DBG_VALUEs and any related functions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184067 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -589,16 +589,6 @@ void MipsAsmPrinter::EmitEndOfAsmFile(Module &M) {
|
||||
MES->emitELFHeaderFlagsCG(*Subtarget);
|
||||
}
|
||||
|
||||
MachineLocation
|
||||
MipsAsmPrinter::getDebugValueLocation(const MachineInstr *MI) const {
|
||||
// Handles frame addresses emitted in MipsInstrInfo::emitFrameIndexDebugValue.
|
||||
assert(MI->getNumOperands() == 4 && "Invalid no. of machine operands!");
|
||||
assert(MI->getOperand(0).isReg() && MI->getOperand(1).isImm() &&
|
||||
"Unexpected MachineOperand types");
|
||||
return MachineLocation(MI->getOperand(0).getReg(),
|
||||
MI->getOperand(1).getImm());
|
||||
}
|
||||
|
||||
void MipsAsmPrinter::PrintDebugValueComment(const MachineInstr *MI,
|
||||
raw_ostream &OS) {
|
||||
// TODO: implement
|
||||
|
||||
Reference in New Issue
Block a user