mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
Whoops this already existed.
llvm-svn: 98297
This commit is contained in:
parent
9151a9bee5
commit
687c31cdda
@ -98,9 +98,6 @@ void LLVMAddDemoteMemoryToRegisterPass(LLVMPassManagerRef PM);
|
||||
/** See llvm::createVerifierPass function. */
|
||||
void LLVMAddVerifierPass(LLVMPassManagerRef PM);
|
||||
|
||||
/** PM->add(new TargetData(M)) */
|
||||
void LLVMAddTargetData(LLVMPassManagerRef PM, LLVMModuleRef M);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* defined(__cplusplus) */
|
||||
|
@ -116,7 +116,3 @@ void LLVMAddDemoteMemoryToRegisterPass(LLVMPassManagerRef PM) {
|
||||
void LLVMAddVerifierPass(LLVMPassManagerRef PM) {
|
||||
unwrap(PM)->add(createVerifierPass());
|
||||
}
|
||||
|
||||
void LLVMAddTargetData(LLVMPassManagerRef PM, LLVMModuleRef M) {
|
||||
unwrap(PM)->add(new TargetData(unwrap(M)));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user