summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-04-09 18:37:08 +0000
committerChris Lattner <sabre@nondot.org>2002-04-09 18:37:08 +0000
commit807399ad863fd5298413d10831f653afa97234ea (patch)
treea8faf6f6368fa53966f82158a737dc9e166b0cc0 /llvm/lib
parent34ea10c5b455f25bed46a2b56c7dd4266667ee13 (diff)
downloadbcm5719-llvm-807399ad863fd5298413d10831f653afa97234ea.tar.gz
bcm5719-llvm-807399ad863fd5298413d10831f653afa97234ea.zip
Add a couple of extra casts to avoid extra #include
llvm-svn: 2206
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/VMCore/iSwitch.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/VMCore/iSwitch.cpp b/llvm/lib/VMCore/iSwitch.cpp
index 91edbc0dce2..cd3079afa7e 100644
--- a/llvm/lib/VMCore/iSwitch.cpp
+++ b/llvm/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));
}
OpenPOWER on IntegriCloud