diff options
Diffstat (limited to 'llvm/lib/CodeGen/MachineBlockPlacement.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineBlockPlacement.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineBlockPlacement.cpp b/llvm/lib/CodeGen/MachineBlockPlacement.cpp index e32ea57..8a86696 100644 --- a/llvm/lib/CodeGen/MachineBlockPlacement.cpp +++ b/llvm/lib/CodeGen/MachineBlockPlacement.cpp @@ -418,7 +418,7 @@ class MachineBlockPlacement : public MachineFunctionPass { /// The return value is used to model tail duplication cost. BlockFrequency getBlockCountOrFrequency(const MachineBasicBlock *BB) { if (UseProfileCount) { - auto Count = MBFI->getMBFI().getBlockProfileCount(BB); + auto Count = MBFI->getBlockProfileCount(BB); if (Count) return *Count; else |