diff options
| author | Chris Lattner <sabre@nondot.org> | 2006-10-17 22:41:45 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2006-10-17 22:41:45 +0000 |
| commit | ae1dc403274d3a64bcee31f15e2d25e4b7178811 (patch) | |
| tree | 860399ca4d1a1c66586e537a403dc4e7718771a1 /include | |
| parent | 72dc5852684bd56af68b3f344b295d9ff5c3a13f (diff) | |
expose DWARF_LABEL opcode# so the branch folder can update debug info properly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31024 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
| -rw-r--r-- | include/llvm/Target/TargetInstrInfo.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetInstrInfo.h b/include/llvm/Target/TargetInstrInfo.h index 794117058c..e74cb138ab 100644 --- a/include/llvm/Target/TargetInstrInfo.h +++ b/include/llvm/Target/TargetInstrInfo.h @@ -219,6 +219,13 @@ public: return get(Opcode).Flags & M_VARIABLE_OPS; } + /// 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. + virtual unsigned getDWARF_LABELOpcode() const { + return 0; + } + /// Return true if the instruction is a register to register move /// and leave the source and dest operands in the passed parameters. virtual bool isMoveInstr(const MachineInstr& MI, |
