1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

Formating fixes.

llvm-svn: 37491
This commit is contained in:
Tanya Lattner 2007-06-07 17:12:16 +00:00
parent 4b2d7681e2
commit 968030663f

View File

@ -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;