From e45ac2ab119fc37c24634d3111b52023aaa18cee Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Mon, 18 Dec 2006 08:52:59 +0000 Subject: Remove the createInferredCast methods now that their last uses have been removed. All casting is now explicit and not inferred by VMCore. llvm-svn: 32655 --- llvm/lib/VMCore/Instructions.cpp | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'llvm/lib/VMCore/Instructions.cpp') diff --git a/llvm/lib/VMCore/Instructions.cpp b/llvm/lib/VMCore/Instructions.cpp index 07a44ee750f..cf1e5e91e54 100644 --- a/llvm/lib/VMCore/Instructions.cpp +++ b/llvm/lib/VMCore/Instructions.cpp @@ -1782,20 +1782,6 @@ checkCast(Instruction::CastOps op, Value *S, const Type *DstTy) { } } -CastInst *CastInst::createInferredCast( - Value *S, const Type *Ty, const std::string &Name, Instruction *InsertBefore) -{ - return createInferredCast(S, S->getType()->isSigned(), Ty, Ty->isSigned(), - Name, InsertBefore); -} - -CastInst *CastInst::createInferredCast( - Value *S, const Type *Ty, const std::string &Name, BasicBlock *InsertAtEnd) -{ - return createInferredCast(S, S->getType()->isSigned(), Ty, Ty->isSigned(), - Name, InsertAtEnd); -} - TruncInst::TruncInst( Value *S, const Type *Ty, const std::string &Name, Instruction *InsertBefore ) : CastInst(Ty, Trunc, S, Name, InsertBefore) { -- cgit v1.2.3