[llvm-commits] [PATCH 2/2] Use LLVMBool instead of bool in LLVMPassManagerBuilderPopulateLTOPassManager.
Peter Zotov
whitequark at whitequark.org
Mon Jan 21 04:09:06 PST 2013
---
include/llvm-c/Transforms/PassManagerBuilder.h | 4 ++--
lib/Transforms/IPO/PassManagerBuilder.cpp | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/include/llvm-c/Transforms/PassManagerBuilder.h
b/include/llvm-c/Transforms/PassManagerBuilder.h
index 0e5e3ca..82e513d 100644
--- a/include/llvm-c/Transforms/PassManagerBuilder.h
+++ b/include/llvm-c/Transforms/PassManagerBuilder.h
@@ -77,8 +77,8 @@
LLVMPassManagerBuilderPopulateModulePassManager(LLVMPassManagerBuilderRef
PMB,
/** See llvm::PassManagerBuilder::populateLTOPassManager. */
void
LLVMPassManagerBuilderPopulateLTOPassManager(LLVMPassManagerBuilderRef
PMB,
LLVMPassManagerRef
PM,
- bool Internalize,
- bool RunInliner);
+ LLVMBool
Internalize,
+ LLVMBool
RunInliner);
/**
* @}
diff --git a/lib/Transforms/IPO/PassManagerBuilder.cpp
b/lib/Transforms/IPO/PassManagerBuilder.cpp
index 6dc1773..89ddb97 100644
--- a/lib/Transforms/IPO/PassManagerBuilder.cpp
+++ b/lib/Transforms/IPO/PassManagerBuilder.cpp
@@ -387,8 +387,8 @@
LLVMPassManagerBuilderPopulateModulePassManager(LLVMPassManagerBuilderRef
PMB,
void
LLVMPassManagerBuilderPopulateLTOPassManager(LLVMPassManagerBuilderRef
PMB,
LLVMPassManagerRef
PM,
- bool Internalize,
- bool RunInliner) {
+ LLVMBool
Internalize,
+ LLVMBool RunInliner)
{
PassManagerBuilder *Builder = unwrap(PMB);
PassManagerBase *LPM = unwrap(PM);
Builder->populateLTOPassManager(*LPM, Internalize, RunInliner);
--
WBR, Peter Zotov.
More information about the llvm-commits
mailing list