projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cache results of operator*
[oota-llvm.git]
/
lib
/
Transforms
/
Scalar
/
Scalar.cpp
diff --git
a/lib/Transforms/Scalar/Scalar.cpp
b/lib/Transforms/Scalar/Scalar.cpp
index 5ad87b0a3bf8554d8e0fcb7ece530939a8d470b4..cb034232df534db6fe85ef89e302bd6e57672c85 100644
(file)
--- a/
lib/Transforms/Scalar/Scalar.cpp
+++ b/
lib/Transforms/Scalar/Scalar.cpp
@@
-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)));
-}