Revert r100143.

llvm-svn: 100146
This commit is contained in:
Eric Christopher
2010-04-01 22:54:42 +00:00
parent 18737b2a81
commit 5342ddaadf
15 changed files with 42 additions and 285 deletions

View File

@@ -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.