Commit 38ba6f50 authored by Johan Dahlin's avatar Johan Dahlin

Remove unnecessary SetInsertPoint

parent 21590cbf
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment