summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/FEntryInserter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/CodeGen/FEntryInserter.cpp')
-rw-r--r--llvm/lib/CodeGen/FEntryInserter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/FEntryInserter.cpp b/llvm/lib/CodeGen/FEntryInserter.cpp
index dbe6b30c964..4ddf9f92836 100644
--- a/llvm/lib/CodeGen/FEntryInserter.cpp
+++ b/llvm/lib/CodeGen/FEntryInserter.cpp
@@ -36,7 +36,7 @@ struct FEntryInserter : public MachineFunctionPass {
bool FEntryInserter::runOnMachineFunction(MachineFunction &MF) {
const std::string FEntryName =
- MF.getFunction()->getFnAttribute("fentry-call").getValueAsString();
+ MF.getFunction().getFnAttribute("fentry-call").getValueAsString();
if (FEntryName != "true")
return false;
OpenPOWER on IntegriCloud