diff options
| author | Chris Lattner <sabre@nondot.org> | 2008-01-07 07:27:27 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2008-01-07 07:27:27 +0000 |
| commit | 03ad8850393324bdbd8a3a241cc3f936f2b8f967 (patch) | |
| tree | 711130fcaafc1c6f2bd24c57a75eb17b8b31db6b /llvm/lib/CodeGen/DwarfWriter.cpp | |
| parent | 3ef160b15acb13f061bf0d8b106a7aa052396f77 (diff) | |
| download | bcm5719-llvm-03ad8850393324bdbd8a3a241cc3f936f2b8f967.tar.gz bcm5719-llvm-03ad8850393324bdbd8a3a241cc3f936f2b8f967.zip | |
rename TargetInstrDescriptor -> TargetInstrDesc.
Make MachineInstr::getDesc return a reference instead
of a pointer, since it can never be null.
llvm-svn: 45695
Diffstat (limited to 'llvm/lib/CodeGen/DwarfWriter.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/DwarfWriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/DwarfWriter.cpp b/llvm/lib/CodeGen/DwarfWriter.cpp index 0fb71760d13..c1091e9e7de 100644 --- a/llvm/lib/CodeGen/DwarfWriter.cpp +++ b/llvm/lib/CodeGen/DwarfWriter.cpp @@ -3153,7 +3153,7 @@ private: for (MachineBasicBlock::const_iterator MI = I->begin(), E = I->end(); MI != E; ++MI) { if (MI->getOpcode() != TargetInstrInfo::LABEL) { - SawPotentiallyThrowing |= MI->getDesc()->isCall(); + SawPotentiallyThrowing |= MI->getDesc().isCall(); continue; } |

