[pygobject/llvm: 8/12] Remove unnecessary SetInsertPoint
- From: Johan Dahlin <johan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject/llvm: 8/12] Remove unnecessary SetInsertPoint
- Date: Thu, 8 Jul 2010 17:56:12 +0000 (UTC)
commit 42ec372eae7879af85f2afe194cb08013d99c776
Author: Johan Dahlin <johan gnome org>
Date: Tue Jul 6 10:23:47 2010 -0300
Remove unnecessary SetInsertPoint
gi/llvm-compiler.cpp | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gi/llvm-compiler.cpp b/gi/llvm-compiler.cpp
index 992a538..71694ae 100644
--- a/gi/llvm-compiler.cpp
+++ b/gi/llvm-compiler.cpp
@@ -241,7 +241,6 @@ LLVMCompiler::typeCheck(GICallableInfo *callableInfo,
llvm::Value *v = Builder.CreateCall(_PyFloat_CheckFunc, value, "l");
llvm::BasicBlock *excBlock = this->createException(callableInfo, argInfo, typeInfo, i, *block);
this->createIf(block, llvm::ICmpInst::ICMP_EQ, v, llvm::ConstantInt::get(llvm::Type::getInt32Ty(mCtx), 0), excBlock);
- Builder.SetInsertPoint((*block));
break;
}
case GI_TYPE_TAG_INT:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]