Remove Passes.cpp from rustllvm

Upstreamed
This commit is contained in:
Brian Anderson 2011-07-16 21:51:09 -07:00
parent b7699b7889
commit 13f5de0671
2 changed files with 1 additions and 16 deletions

View File

@ -2,8 +2,7 @@
# rustc LLVM-extensions (C++) library variables and rules
######################################################################
RUSTLLVM_LIB_CS := $(addprefix rustllvm/, \
Passes.cpp Passes2.cpp)
RUSTLLVM_LIB_CS := $(addprefix rustllvm/, Passes2.cpp)
RUSTLLVM_OBJS_CS := $(addprefix rustllvm/, RustWrapper.cpp)

View File

@ -1,14 +0,0 @@
#include "llvm/Analysis/Passes.h"
#include "llvm/PassManager.h"
#include "llvm-c/Core.h"
using namespace llvm;
extern "C" {
void LLVMAddTypeBasedAliasAnalysisPass(LLVMPassManagerRef PM) {
unwrap(PM)->add(createTypeBasedAliasAnalysisPass());
}
void LLVMAddBasicAliasAnalysisPass(LLVMPassManagerRef PM) {
unwrap(PM)->add(createBasicAliasAnalysisPass());
}
}