summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorFrancis Visoiu Mistrih <fvisoiumistrih@apple.com>2017-07-19 23:47:33 +0000
committerFrancis Visoiu Mistrih <fvisoiumistrih@apple.com>2017-07-19 23:47:33 +0000
commit9b97a31870b4e2eb323d5ecca0052f1de19617a3 (patch)
treea6e118c8e7b654efee98e71d9c2247bdffc47ea5 /llvm/lib/CodeGen
parent52042aa21e6ef8b694e254491d2c3a6bb4779124 (diff)
downloadbcm5719-llvm-9b97a31870b4e2eb323d5ecca0052f1de19617a3.tar.gz
bcm5719-llvm-9b97a31870b4e2eb323d5ecca0052f1de19617a3.zip
[AsmPrinter] Constify needsCFIMoves. NFC
llvm-svn: 308557
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
index ff427c9a0d7..1ea82f84a54 100644
--- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
@@ -901,7 +901,7 @@ static bool emitDebugValueComment(const MachineInstr *MI, AsmPrinter &AP) {
return true;
}
-AsmPrinter::CFIMoveType AsmPrinter::needsCFIMoves() {
+AsmPrinter::CFIMoveType AsmPrinter::needsCFIMoves() const {
if (MAI->getExceptionHandlingType() == ExceptionHandling::DwarfCFI &&
MF->getFunction()->needsUnwindTableEntry())
return CFI_M_EH;
OpenPOWER on IntegriCloud