From cb7c0a4927231d01993f33ceda34ac6c4ff79204 Mon Sep 17 00:00:00 2001 From: Jakub Staszak Date: Thu, 21 Jul 2011 22:59:09 +0000 Subject: Add missing getAnalysisUsage in MachineBlockFrequency. llvm-svn: 135714 --- llvm/lib/CodeGen/MachineBlockFrequency.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'llvm/lib/CodeGen/MachineBlockFrequency.cpp') diff --git a/llvm/lib/CodeGen/MachineBlockFrequency.cpp b/llvm/lib/CodeGen/MachineBlockFrequency.cpp index 893a320a6a6..0a77bdd38a2 100644 --- a/llvm/lib/CodeGen/MachineBlockFrequency.cpp +++ b/llvm/lib/CodeGen/MachineBlockFrequency.cpp @@ -41,6 +41,7 @@ MachineBlockFrequency::~MachineBlockFrequency() { void MachineBlockFrequency::getAnalysisUsage(AnalysisUsage &AU) const { AU.addRequired(); AU.setPreservesAll(); + MachineFunctionPass::getAnalysisUsage(AU); } bool MachineBlockFrequency::runOnMachineFunction(MachineFunction &F) { -- cgit v1.2.3