}
}
-void SwitchInst::dest_push_back(ConstPoolVal *OnVal, BasicBlock *Dest) {
- Operands.push_back(Use(OnVal, this));
- Operands.push_back(Use(Dest, this));
+void SwitchInst::dest_push_back(Constant *OnVal, BasicBlock *Dest) {
+ Operands.push_back(Use((Value*)OnVal, this));
+ Operands.push_back(Use((Value*)Dest, this));
}