mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 15:32:06 +00:00
Remove Passes.cpp from rustllvm
Upstreamed
This commit is contained in:
parent
b7699b7889
commit
13f5de0671
@ -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)
|
||||
|
||||
|
@ -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());
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user