Changes in directory llvm/lib/VMCore:
Instructions.cpp updated: 1.55 -> 1.56 --- Log message: Remove the createInferredCast methods now that their last uses have been removed. All casting is now explicit and not inferred by VMCore. --- Diffs of the changes: (+0 -14) Instructions.cpp | 14 -------------- 1 files changed, 14 deletions(-) Index: llvm/lib/VMCore/Instructions.cpp diff -u llvm/lib/VMCore/Instructions.cpp:1.55 llvm/lib/VMCore/Instructions.cpp:1.56 --- llvm/lib/VMCore/Instructions.cpp:1.55 Mon Dec 11 18:49:44 2006 +++ llvm/lib/VMCore/Instructions.cpp Mon Dec 18 02:52:59 2006 @@ -1782,20 +1782,6 @@ } } -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) { _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits