diff options
Diffstat (limited to 'lib/Target/X86/X86InstrInfo.cpp')
-rw-r--r-- | lib/Target/X86/X86InstrInfo.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Target/X86/X86InstrInfo.cpp b/lib/Target/X86/X86InstrInfo.cpp index 939b8691c4..65321616bf 100644 --- a/lib/Target/X86/X86InstrInfo.cpp +++ b/lib/Target/X86/X86InstrInfo.cpp @@ -25,6 +25,13 @@ X86InstrInfo::X86InstrInfo(X86TargetMachine &tm) TM(tm), RI(tm, *this) { } +/// getDWARF_LABELOpcode - Return the opcode of the target's DWARF_LABEL +/// instruction if it has one. This is used by codegen passes that update +/// DWARF line number info as they modify the code. +unsigned X86InstrInfo::getDWARF_LABELOpcode() const { + return X86::DWARF_LABEL; +} + bool X86InstrInfo::isMoveInstr(const MachineInstr& MI, unsigned& sourceReg, |