aboutsummaryrefslogtreecommitdiff
path: root/lib/VMCore/Instructions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/VMCore/Instructions.cpp')
-rw-r--r--lib/VMCore/Instructions.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/VMCore/Instructions.cpp b/lib/VMCore/Instructions.cpp
index 07a44ee750..cf1e5e91e5 100644
--- a/lib/VMCore/Instructions.cpp
+++ b/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) {