mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-25 16:30:05 +00:00
Make a few more things const.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188484 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7d938adacc
commit
873e392ffd
@ -234,7 +234,7 @@ public:
|
||||
/// \brief Returns a reference to a list of cfi instructions in the current
|
||||
/// function's prologue. Used to construct frame maps for debug and exception
|
||||
/// handling comsumers.
|
||||
const std::vector<MCCFIInstruction> &getFrameInstructions() {
|
||||
const std::vector<MCCFIInstruction> &getFrameInstructions() const {
|
||||
return FrameInstructions;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user