git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@308557
91177308-0d34-0410-b5e6-
96231b3b80d8
void emitFrameAlloc(const MachineInstr &MI);
enum CFIMoveType { CFI_M_None, CFI_M_EH, CFI_M_Debug };
- CFIMoveType needsCFIMoves();
+ CFIMoveType needsCFIMoves() const;
/// Returns false if needsCFIMoves() == CFI_M_EH for any function
/// in the module.
return true;
}
-AsmPrinter::CFIMoveType AsmPrinter::needsCFIMoves() {
+AsmPrinter::CFIMoveType AsmPrinter::needsCFIMoves() const {
if (MAI->getExceptionHandlingType() == ExceptionHandling::DwarfCFI &&
MF->getFunction()->needsUnwindTableEntry())
return CFI_M_EH;