Changes in directory llvm/include/llvm/Target:
TargetInstrInfo.h updated: 1.95 -> 1.96 --- Log message: expose DWARF_LABEL opcode# so the branch folder can update debug info properly. --- Diffs of the changes: (+7 -0) TargetInstrInfo.h | 7 +++++++ 1 files changed, 7 insertions(+) Index: llvm/include/llvm/Target/TargetInstrInfo.h diff -u llvm/include/llvm/Target/TargetInstrInfo.h:1.95 llvm/include/llvm/Target/TargetInstrInfo.h:1.96 --- llvm/include/llvm/Target/TargetInstrInfo.h:1.95 Tue Oct 17 17:12:15 2006 +++ llvm/include/llvm/Target/TargetInstrInfo.h Tue Oct 17 17:39:05 2006 @@ -219,6 +219,13 @@ 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, _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits