From cf5862d8ac9562e633e6ef7cb55e67c2b7ca9c0a Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Fri, 2 Apr 2010 19:29:15 +0000 Subject: Revert 100204. It broke a bunch of tests and apparently changed what passes are run during codegen. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100207 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/MachineFunctionPass.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'lib/CodeGen/MachineFunctionPass.cpp') diff --git a/lib/CodeGen/MachineFunctionPass.cpp b/lib/CodeGen/MachineFunctionPass.cpp index e5a491270a..2f8d4c9e7a 100644 --- a/lib/CodeGen/MachineFunctionPass.cpp +++ b/lib/CodeGen/MachineFunctionPass.cpp @@ -15,14 +15,8 @@ #include "llvm/Analysis/AliasAnalysis.h" #include "llvm/CodeGen/MachineFunctionAnalysis.h" #include "llvm/CodeGen/MachineFunctionPass.h" -#include "llvm/CodeGen/Passes.h" using namespace llvm; -Pass *MachineFunctionPass::createPrinterPass(raw_ostream &O, - const std::string &Banner) const { - return createMachineFunctionPrinterPass(O, Banner); -} - bool MachineFunctionPass::runOnFunction(Function &F) { // Do not codegen any 'available_externally' functions at all, they have // definitions outside the translation unit. -- cgit v1.2.3