aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore/Instructions.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-12-18 08:52:59 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-12-18 08:52:59 +0000
commit1bd82a5c65623f88ee4b2ce5e549a4fe11baeee3 (patch)
tree4cbe724d8a65626f84cbce70a43645c5d90a0568 /lib/VMCore/Instructions.cpp
parent8a903db4990d57aadea5cdad601ff26e92899103 (diff)
downloadexternal_llvm-1bd82a5c65623f88ee4b2ce5e549a4fe11baeee3.zip
external_llvm-1bd82a5c65623f88ee4b2ce5e549a4fe11baeee3.tar.gz
external_llvm-1bd82a5c65623f88ee4b2ce5e549a4fe11baeee3.tar.bz2
Remove the createInferredCast methods now that their last uses have been
removed. All casting is now explicit and not inferred by VMCore. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32655 91177308-0d34-0410-b5e6-96231b3b80d8
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 07a44ee..cf1e5e9 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) {