summaryrefslogtreecommitdiffstats
path: root/lib/VMCore/iSwitch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/VMCore/iSwitch.cpp')
-rw-r--r--lib/VMCore/iSwitch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/iSwitch.cpp b/lib/VMCore/iSwitch.cpp
index e5e3c50..91edbc0 100644
--- a/lib/VMCore/iSwitch.cpp
+++ b/lib/VMCore/iSwitch.cpp
@@ -27,7 +27,7 @@ SwitchInst::SwitchInst(const SwitchInst &SI)
}
}
-void SwitchInst::dest_push_back(ConstPoolVal *OnVal, BasicBlock *Dest) {
+void SwitchInst::dest_push_back(Constant *OnVal, BasicBlock *Dest) {
Operands.push_back(Use(OnVal, this));
Operands.push_back(Use(Dest, this));
}