summaryrefslogtreecommitdiffstats
path: root/lib/VMCore/PassManager.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2009-02-11 12:25:15 +0000
committerDuncan Sands <baldrick@free.fr>2009-02-11 12:25:15 +0000
commitb91a2a17d3872805018034181182cd1def199cd2 (patch)
tree6b2ebdb065c5acfcbcae8847b894d58e852b5f3e /lib/VMCore/PassManager.cpp
parentaf068750a71780a2f1780f056af0c21208a408dd (diff)
downloadexternal_llvm-b91a2a17d3872805018034181182cd1def199cd2.zip
external_llvm-b91a2a17d3872805018034181182cd1def199cd2.tar.gz
external_llvm-b91a2a17d3872805018034181182cd1def199cd2.tar.bz2
These uses of "inline" can cause strange link-time
failures when building with optimization. Just get rid of them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64301 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/PassManager.cpp')
-rw-r--r--lib/VMCore/PassManager.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/VMCore/PassManager.cpp b/lib/VMCore/PassManager.cpp
index f2bfaef..4335757 100644
--- a/lib/VMCore/PassManager.cpp
+++ b/lib/VMCore/PassManager.cpp
@@ -1140,7 +1140,7 @@ BBPassManager::runOnFunction(Function &F) {
}
// Implement doInitialization and doFinalization
-inline bool BBPassManager::doInitialization(Module &M) {
+bool BBPassManager::doInitialization(Module &M) {
bool Changed = false;
for (unsigned Index = 0; Index < getNumContainedPasses(); ++Index) {
@@ -1151,7 +1151,7 @@ inline bool BBPassManager::doInitialization(Module &M) {
return Changed;
}
-inline bool BBPassManager::doFinalization(Module &M) {
+bool BBPassManager::doFinalization(Module &M) {
bool Changed = false;
for (unsigned Index = 0; Index < getNumContainedPasses(); ++Index) {
@@ -1162,7 +1162,7 @@ inline bool BBPassManager::doFinalization(Module &M) {
return Changed;
}
-inline bool BBPassManager::doInitialization(Function &F) {
+bool BBPassManager::doInitialization(Function &F) {
bool Changed = false;
for (unsigned Index = 0; Index < getNumContainedPasses(); ++Index) {
@@ -1173,7 +1173,7 @@ inline bool BBPassManager::doInitialization(Function &F) {
return Changed;
}
-inline bool BBPassManager::doFinalization(Function &F) {
+bool BBPassManager::doFinalization(Function &F) {
bool Changed = false;
for (unsigned Index = 0; Index < getNumContainedPasses(); ++Index) {
@@ -1242,7 +1242,7 @@ bool FunctionPassManager::doFinalization() {
//===----------------------------------------------------------------------===//
// FunctionPassManagerImpl implementation
//
-inline bool FunctionPassManagerImpl::doInitialization(Module &M) {
+bool FunctionPassManagerImpl::doInitialization(Module &M) {
bool Changed = false;
for (unsigned Index = 0; Index < getNumContainedManagers(); ++Index) {
@@ -1253,7 +1253,7 @@ inline bool FunctionPassManagerImpl::doInitialization(Module &M) {
return Changed;
}
-inline bool FunctionPassManagerImpl::doFinalization(Module &M) {
+bool FunctionPassManagerImpl::doFinalization(Module &M) {
bool Changed = false;
for (unsigned Index = 0; Index < getNumContainedManagers(); ++Index) {
@@ -1348,7 +1348,7 @@ bool FPPassManager::runOnModule(Module &M) {
return Changed |= doFinalization(M);
}
-inline bool FPPassManager::doInitialization(Module &M) {
+bool FPPassManager::doInitialization(Module &M) {
bool Changed = false;
for (unsigned Index = 0; Index < getNumContainedPasses(); ++Index) {
@@ -1359,7 +1359,7 @@ inline bool FPPassManager::doInitialization(Module &M) {
return Changed;
}
-inline bool FPPassManager::doFinalization(Module &M) {
+bool FPPassManager::doFinalization(Module &M) {
bool Changed = false;
for (unsigned Index = 0; Index < getNumContainedPasses(); ++Index) {