// FIXME: This pass should declare that the pass does not invalidate any LLVM
// passes.
-
virtual bool runOnFunction(Function &F) {
return runOnMachineFunction(MachineFunction::get(&F));
}
+
+ virtual void virtfn(); // out of line virtual fn to give class a home.
};
} // End llvm namespace
static AnnotationID MF_AID(
AnnotationManager::getID("CodeGen::MachineCodeForFunction"));
+// Out of line virtual function to home classes.
+void MachineFunctionPass::virtfn() {}
namespace {
struct VISIBILITY_HIDDEN Printer : public MachineFunctionPass {