mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 12:50:30 +00:00
Formating fixes.
llvm-svn: 37491
This commit is contained in:
parent
4b2d7681e2
commit
968030663f
@ -291,12 +291,12 @@ bool SimpleInliner::doInitialization(CallGraph &CG) {
|
||||
// Get llvm.noinline
|
||||
GlobalVariable *GV = M.getNamedGlobal("llvm.noinline");
|
||||
|
||||
if(GV == 0)
|
||||
if (GV == 0)
|
||||
return false;
|
||||
|
||||
const ConstantArray *InitList = dyn_cast<ConstantArray>(GV->getInitializer());
|
||||
|
||||
if(InitList == 0)
|
||||
if (InitList == 0)
|
||||
return false;
|
||||
|
||||
// Iterate over each element and add to the NeverInline set
|
||||
@ -310,8 +310,8 @@ bool SimpleInliner::doInitialization(CallGraph &CG) {
|
||||
Elt = CE->getOperand(0);
|
||||
|
||||
// Insert into set of functions to never inline
|
||||
if(const Function *f = dyn_cast<Function>(Elt))
|
||||
NeverInline.insert(f);
|
||||
if (const Function *F = dyn_cast<Function>(Elt))
|
||||
NeverInline.insert(F);
|
||||
}
|
||||
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user