diff options
author | Chris Lattner <sabre@nondot.org> | 2001-12-04 00:03:30 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-12-04 00:03:30 +0000 |
commit | 7a1767520611d9ff6face702068de858e1cadf2c (patch) | |
tree | 84849800c5f0e86af2757f911bc65010e016259e /lib/VMCore/iCall.cpp | |
parent | e9bb2df410f7a22decad9a883f7139d5857c1520 (diff) |
Renamed inst_const_iterator -> const_inst_iterator
Renamed op_const_iterator -> const_op_iterator
Renamed PointerType::getValueType() -> PointerType::getElementType()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1408 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/iCall.cpp')
-rw-r--r-- | lib/VMCore/iCall.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/VMCore/iCall.cpp b/lib/VMCore/iCall.cpp index 3f73933690..7f4efaf7b2 100644 --- a/lib/VMCore/iCall.cpp +++ b/lib/VMCore/iCall.cpp @@ -16,13 +16,13 @@ CallInst::CallInst(Value *Meth, const vector<Value*> ¶ms, const string &Name) : Instruction(cast<MethodType>(cast<PointerType>(Meth->getType()) - ->getValueType())->getReturnType(), + ->getElementType())->getReturnType(), Instruction::Call, Name) { Operands.reserve(1+params.size()); Operands.push_back(Use(Meth, this)); const MethodType *MTy = - cast<MethodType>(cast<PointerType>(Meth->getType())->getValueType()); + cast<MethodType>(cast<PointerType>(Meth->getType())->getElementType()); const MethodType::ParamTypes &PL = MTy->getParamTypes(); assert((params.size() == PL.size()) || @@ -47,14 +47,14 @@ InvokeInst::InvokeInst(Value *Meth, BasicBlock *IfNormal, \ BasicBlock *IfException, const vector<Value*>¶ms, const string &Name) : TerminatorInst(cast<MethodType>(cast<PointerType>(Meth->getType()) - ->getValueType())->getReturnType(), + ->getElementType())->getReturnType(), Instruction::Invoke, Name) { Operands.reserve(3+params.size()); Operands.push_back(Use(Meth, this)); Operands.push_back(Use(IfNormal, this)); Operands.push_back(Use(IfException, this)); const MethodType *MTy = - cast<MethodType>(cast<PointerType>(Meth->getType())->getValueType()); + cast<MethodType>(cast<PointerType>(Meth->getType())->getElementType()); const MethodType::ParamTypes &PL = MTy->getParamTypes(); assert((params.size() == PL.size()) || |