diff options
author | Michael Gottesman <mgottesman@apple.com> | 2013-03-25 09:27:43 +0000 |
---|---|---|
committer | Michael Gottesman <mgottesman@apple.com> | 2013-03-25 09:27:43 +0000 |
commit | 65c2481d092c5b61a39f4dea8fbe283cf4cba123 (patch) | |
tree | 62e6fdeeb9dd2d3325aec8a7be4e945af41ee9ef /llvm/lib/Transforms/ObjCARC/ObjCARCContract.cpp | |
parent | a208c397bff64dbc19f02947a44dcb7430c4ceee (diff) | |
download | bcm5719-llvm-65c2481d092c5b61a39f4dea8fbe283cf4cba123.tar.gz bcm5719-llvm-65c2481d092c5b61a39f4dea8fbe283cf4cba123.zip |
Changed isNullOrUndef => IsNullOrUndef and isNoopInstruction => IsNoopInstruction so that all helper functions are named similarly in ObjCARC.h.
llvm-svn: 177855
Diffstat (limited to 'llvm/lib/Transforms/ObjCARC/ObjCARCContract.cpp')
-rw-r--r-- | llvm/lib/Transforms/ObjCARC/ObjCARCContract.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/ObjCARC/ObjCARCContract.cpp b/llvm/lib/Transforms/ObjCARC/ObjCARCContract.cpp index 5d0865e8bea..b96c64fe81d 100644 --- a/llvm/lib/Transforms/ObjCARC/ObjCARCContract.cpp +++ b/llvm/lib/Transforms/ObjCARC/ObjCARCContract.cpp @@ -410,7 +410,7 @@ bool ObjCARCContract::runOnFunction(Function &F) { break; } --BBI; - } while (isNoopInstruction(BBI)); + } while (IsNoopInstruction(BBI)); if (&*BBI == GetObjCArg(Inst)) { DEBUG(dbgs() << "ObjCARCContract: Adding inline asm marker for " @@ -429,7 +429,7 @@ bool ObjCARCContract::runOnFunction(Function &F) { case IC_InitWeak: { // objc_initWeak(p, null) => *p = null CallInst *CI = cast<CallInst>(Inst); - if (isNullOrUndef(CI->getArgOperand(1))) { + if (IsNullOrUndef(CI->getArgOperand(1))) { Value *Null = ConstantPointerNull::get(cast<PointerType>(CI->getType())); Changed = true; |