[llvm] r187864 - Change public functions of LTOCodeGenerator from ret-false-on-succ to ret-true-on-succ.
Robinson, Paul
Paul_Robinson at playstation.sony.com
Wed Aug 7 09:52:05 PDT 2013
> --- llvm/trunk/tools/lto/LTOCodeGenerator.cpp (original)
> +++ llvm/trunk/tools/lto/LTOCodeGenerator.cpp Wed Aug 7 00:19:23 2013
> @@ -128,31 +128,29 @@ bool LTOCodeGenerator::addModule(LTOModu
> for (int i = 0, e = undefs.size(); i != e; ++i)
> _asmUndefinedRefs[undefs[i]] = 1;
>
> - return ret;
> + return !ret;
> }
Ewww... better to set up "ret" as the actual return value?
--paulr
More information about the llvm-commits
mailing list