summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/iSwitch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/VMCore/iSwitch.cpp')
-rw-r--r--llvm/lib/VMCore/iSwitch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/iSwitch.cpp b/llvm/lib/VMCore/iSwitch.cpp
index e5e3c50cfd5..91edbc0dce2 100644
--- a/llvm/lib/VMCore/iSwitch.cpp
+++ b/llvm/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));
}
OpenPOWER on IntegriCloud