diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-08-15 20:25:44 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-08-15 20:25:44 +0000 |
commit | 33fae6935a663bb18c756a53eab14aa92e62d2e0 (patch) | |
tree | 48fe62da25226c77fbc1028aad0d82f522151ecc /llvm/lib/CodeGen | |
parent | 2d092f05b4c08c8f39e16356e54341c877faa271 (diff) | |
download | bcm5719-llvm-33fae6935a663bb18c756a53eab14aa92e62d2e0.tar.gz bcm5719-llvm-33fae6935a663bb18c756a53eab14aa92e62d2e0.zip |
Make a few more things const.
llvm-svn: 188484
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp index 4d9497a96bd..42a21650fb3 100644 --- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp @@ -646,7 +646,7 @@ bool AsmPrinter::needsRelocationsForDwarfStringPool() const { } void AsmPrinter::emitPrologLabel(const MachineInstr &MI) { - MCSymbol *Label = MI.getOperand(0).getMCSymbol(); + const MCSymbol *Label = MI.getOperand(0).getMCSymbol(); if (MAI->getExceptionHandlingType() != ExceptionHandling::DwarfCFI) return; @@ -657,7 +657,7 @@ void AsmPrinter::emitPrologLabel(const MachineInstr &MI) { if (MMI->getCompactUnwindEncoding() != 0) OutStreamer.EmitCompactUnwindEncoding(MMI->getCompactUnwindEncoding()); - MachineModuleInfo &MMI = MF->getMMI(); + const MachineModuleInfo &MMI = MF->getMMI(); const std::vector<MCCFIInstruction> &Instrs = MMI.getFrameInstructions(); bool FoundOne = false; (void)FoundOne; |