1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

Use LLVMBool instead of 'bool' in the C API. Based on a patch by Peter Zotov!

llvm-svn: 176793
This commit is contained in:
Nick Lewycky 2013-03-10 21:58:22 +00:00
parent a5dcace09c
commit d19f3cb20c
2 changed files with 5 additions and 5 deletions

View File

@ -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);
/**
* @}

View File

@ -391,9 +391,9 @@ 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);
Builder->populateLTOPassManager(*LPM, Internalize != 0, RunInliner != 0);
}