[cfe-commits] r56954 - /cfe/trunk/lib/CodeGen/CGObjCMac.cpp
Daniel Dunbar
daniel at zuster.org
Thu Oct 2 10:05:36 PDT 2008
Author: ddunbar
Date: Thu Oct 2 12:05:36 2008
New Revision: 56954
URL: http://llvm.org/viewvc/llvm-project?rev=56954&view=rev
Log:
(LLVM up) Rename IRBuilder::IsNonNull -> IsNotNull.
Modified:
cfe/trunk/lib/CodeGen/CGObjCMac.cpp
Modified: cfe/trunk/lib/CodeGen/CGObjCMac.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGObjCMac.cpp?rev=56954&r1=56953&r2=56954&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGObjCMac.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGObjCMac.cpp Thu Oct 2 12:05:36 2008
@@ -1504,7 +1504,7 @@
llvm::BasicBlock *TryBlock = llvm::BasicBlock::Create("try");
llvm::BasicBlock *TryHandler = llvm::BasicBlock::Create("try.handler");
- CGF.Builder.CreateCondBr(CGF.Builder.CreateIsNonNull(SetJmpResult, "threw"),
+ CGF.Builder.CreateCondBr(CGF.Builder.CreateIsNotNull(SetJmpResult, "threw"),
TryHandler, TryBlock);
// Emit the @try block.
@@ -1528,7 +1528,7 @@
llvm::Value *SetJmpResult = CGF.Builder.CreateCall(ObjCTypes.SetJmpFn,
JmpBufPtr, "result");
- llvm::Value *Threw = CGF.Builder.CreateIsNonNull(SetJmpResult, "threw");
+ llvm::Value *Threw = CGF.Builder.CreateIsNotNull(SetJmpResult, "threw");
llvm::BasicBlock *CatchBlock = llvm::BasicBlock::Create("catch");
llvm::BasicBlock *CatchHandler = llvm::BasicBlock::Create("catch.handler");
@@ -1587,7 +1587,7 @@
llvm::BasicBlock *MatchedBlock = llvm::BasicBlock::Create("matched");
- CGF.Builder.CreateCondBr(CGF.Builder.CreateIsNonNull(Match, "matched"),
+ CGF.Builder.CreateCondBr(CGF.Builder.CreateIsNotNull(Match, "matched"),
MatchedBlock, NextCatchBlock);
// Emit the @catch block.
More information about the cfe-commits
mailing list