diff options
| author | Chris Lattner <sabre@nondot.org> | 2010-01-26 23:18:02 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2010-01-26 23:18:02 +0000 |
| commit | 76555b513c92af4bb19d9b946bd88f8314cbdb2e (patch) | |
| tree | bf88802dbfd7d416d5fe47ad88b90d2414b28615 /llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp | |
| parent | f13e5f73236c92d5f273ef98714b44a1c0d4a1af (diff) | |
| download | bcm5719-llvm-76555b513c92af4bb19d9b946bd88f8314cbdb2e.tar.gz bcm5719-llvm-76555b513c92af4bb19d9b946bd88f8314cbdb2e.zip | |
constify a bunch of dwarf stuff now that the registerinfo method
is constified.
llvm-svn: 94613
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp index dd8d88a2e4a..08e1bbce08f 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp @@ -57,14 +57,14 @@ void DwarfWriter::EndModule() { /// BeginFunction - Gather pre-function debug information. Assumes being /// emitted immediately after the function entry point. -void DwarfWriter::BeginFunction(MachineFunction *MF) { +void DwarfWriter::BeginFunction(const MachineFunction *MF) { DE->BeginFunction(MF); DD->beginFunction(MF); } /// EndFunction - Gather and emit post-function debug information. /// -void DwarfWriter::EndFunction(MachineFunction *MF) { +void DwarfWriter::EndFunction(const MachineFunction *MF) { DD->endFunction(MF); DE->EndFunction(); |

