projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1413747
)
Add a couple of extra casts to avoid extra #include
author
Chris Lattner
<sabre@nondot.org>
Tue, 9 Apr 2002 18:37:08 +0000
(18:37 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 9 Apr 2002 18:37:08 +0000
(18:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2206
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/iSwitch.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/iSwitch.cpp
b/lib/VMCore/iSwitch.cpp
index 91edbc0dce298a3f313fdde9805ff07f92dab273..cd3079afa7e7ae40c30f75568fd0fce71b6291d0 100644
(file)
--- 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));
}