diff options
author | Chris Lattner <sabre@nondot.org> | 2002-04-09 18:37:08 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-04-09 18:37:08 +0000 |
commit | 991bc4eb803b46663584512a2befc61ec5d0dfa8 (patch) | |
tree | 37e0d7e7b86bff0706450e308760c99f54bc8fb1 /lib | |
parent | 1413747bb4e607a423519e95e71fdfaf4e4d3cc8 (diff) | |
download | external_llvm-991bc4eb803b46663584512a2befc61ec5d0dfa8.zip external_llvm-991bc4eb803b46663584512a2befc61ec5d0dfa8.tar.gz external_llvm-991bc4eb803b46663584512a2befc61ec5d0dfa8.tar.bz2 |
Add a couple of extra casts to avoid extra #include
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2206 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/VMCore/iSwitch.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/VMCore/iSwitch.cpp b/lib/VMCore/iSwitch.cpp index 91edbc0..cd3079a 100644 --- a/lib/VMCore/iSwitch.cpp +++ b/lib/VMCore/iSwitch.cpp @@ -28,6 +28,6 @@ SwitchInst::SwitchInst(const SwitchInst &SI) } void SwitchInst::dest_push_back(Constant *OnVal, BasicBlock *Dest) { - Operands.push_back(Use(OnVal, this)); - Operands.push_back(Use(Dest, this)); + Operands.push_back(Use((Value*)OnVal, this)); + Operands.push_back(Use((Value*)Dest, this)); } |