diff options
author | Chris Lattner <sabre@nondot.org> | 2002-04-09 18:36:52 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-04-09 18:36:52 +0000 |
commit | 1413747bb4e607a423519e95e71fdfaf4e4d3cc8 (patch) | |
tree | c7ea43f957efa18f44521d82b1a335183d1ba71e /lib | |
parent | a6fd4b0d82d76ffea4edebc9f2f203b4ca0bb01b (diff) | |
download | external_llvm-1413747bb4e607a423519e95e71fdfaf4e4d3cc8.zip external_llvm-1413747bb4e607a423519e95e71fdfaf4e4d3cc8.tar.gz external_llvm-1413747bb4e607a423519e95e71fdfaf4e4d3cc8.tar.bz2 |
Add a couple of extra casts to avoid having to add #include
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2205 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/VMCore/iCall.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/VMCore/iCall.cpp b/lib/VMCore/iCall.cpp index 4f1a1c9..9e5ca01 100644 --- a/lib/VMCore/iCall.cpp +++ b/lib/VMCore/iCall.cpp @@ -43,7 +43,7 @@ CallInst::CallInst(const CallInst &CI) // InvokeInst Implementation //===----------------------------------------------------------------------===// -InvokeInst::InvokeInst(Value *Func, BasicBlock *IfNormal, \ +InvokeInst::InvokeInst(Value *Func, BasicBlock *IfNormal, BasicBlock *IfException, const std::vector<Value*> ¶ms, const std::string &Name) @@ -52,8 +52,8 @@ InvokeInst::InvokeInst(Value *Func, BasicBlock *IfNormal, \ Instruction::Invoke, Name) { Operands.reserve(3+params.size()); Operands.push_back(Use(Func, this)); - Operands.push_back(Use(IfNormal, this)); - Operands.push_back(Use(IfException, this)); + Operands.push_back(Use((Value*)IfNormal, this)); + Operands.push_back(Use((Value*)IfException, this)); const FunctionType *MTy = cast<FunctionType>(cast<PointerType>(Func->getType())->getElementType()); |