mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
Whoops this already existed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98297 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -98,9 +98,6 @@ void LLVMAddDemoteMemoryToRegisterPass(LLVMPassManagerRef PM);
|
|||||||
/** See llvm::createVerifierPass function. */
|
/** See llvm::createVerifierPass function. */
|
||||||
void LLVMAddVerifierPass(LLVMPassManagerRef PM);
|
void LLVMAddVerifierPass(LLVMPassManagerRef PM);
|
||||||
|
|
||||||
/** PM->add(new TargetData(M)) */
|
|
||||||
void LLVMAddTargetData(LLVMPassManagerRef PM, LLVMModuleRef M);
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif /* defined(__cplusplus) */
|
#endif /* defined(__cplusplus) */
|
||||||
|
@@ -116,7 +116,3 @@ void LLVMAddDemoteMemoryToRegisterPass(LLVMPassManagerRef PM) {
|
|||||||
void LLVMAddVerifierPass(LLVMPassManagerRef PM) {
|
void LLVMAddVerifierPass(LLVMPassManagerRef PM) {
|
||||||
unwrap(PM)->add(createVerifierPass());
|
unwrap(PM)->add(createVerifierPass());
|
||||||
}
|
}
|
||||||
|
|
||||||
void LLVMAddTargetData(LLVMPassManagerRef PM, LLVMModuleRef M) {
|
|
||||||
unwrap(PM)->add(new TargetData(unwrap(M)));
|
|
||||||
}
|
|
||||||
|
Reference in New Issue
Block a user