[llvm-commits] [llvm] r98297 - in /llvm/trunk: include/llvm-c/Transforms/Scalar.h lib/Transforms/Scalar/Scalar.cpp
Nate Begeman
natebegeman at mac.com
Thu Mar 11 15:21:19 PST 2010
Author: sampo
Date: Thu Mar 11 17:21:19 2010
New Revision: 98297
URL: http://llvm.org/viewvc/llvm-project?rev=98297&view=rev
Log:
Whoops this already existed.
Modified:
llvm/trunk/include/llvm-c/Transforms/Scalar.h
llvm/trunk/lib/Transforms/Scalar/Scalar.cpp
Modified: llvm/trunk/include/llvm-c/Transforms/Scalar.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm-c/Transforms/Scalar.h?rev=98297&r1=98296&r2=98297&view=diff
==============================================================================
--- llvm/trunk/include/llvm-c/Transforms/Scalar.h (original)
+++ llvm/trunk/include/llvm-c/Transforms/Scalar.h Thu Mar 11 17:21:19 2010
@@ -98,9 +98,6 @@
/** See llvm::createVerifierPass function. */
void LLVMAddVerifierPass(LLVMPassManagerRef PM);
-/** PM->add(new TargetData(M)) */
-void LLVMAddTargetData(LLVMPassManagerRef PM, LLVMModuleRef M);
-
#ifdef __cplusplus
}
#endif /* defined(__cplusplus) */
Modified: llvm/trunk/lib/Transforms/Scalar/Scalar.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/Scalar.cpp?rev=98297&r1=98296&r2=98297&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/Scalar.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/Scalar.cpp Thu Mar 11 17:21:19 2010
@@ -116,7 +116,3 @@
void LLVMAddVerifierPass(LLVMPassManagerRef PM) {
unwrap(PM)->add(createVerifierPass());
}
-
-void LLVMAddTargetData(LLVMPassManagerRef PM, LLVMModuleRef M) {
- unwrap(PM)->add(new TargetData(unwrap(M)));
-}
More information about the llvm-commits
mailing list