mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
do not crash when using -debug
llvm-svn: 21092
This commit is contained in:
parent
ede4abc899
commit
c5b8fbe7f9
@ -840,6 +840,8 @@ void Andersens::visitCastInst(CastInst &CI) {
|
||||
#if 0
|
||||
Constraints.push_back(Constraint(Constraint::Copy, getNodeValue(CI),
|
||||
&GraphNodes[UniversalSet]));
|
||||
#else
|
||||
getNodeValue(CI);
|
||||
#endif
|
||||
}
|
||||
} else if (isa<PointerType>(Op->getType())) {
|
||||
@ -848,6 +850,8 @@ void Andersens::visitCastInst(CastInst &CI) {
|
||||
Constraints.push_back(Constraint(Constraint::Copy,
|
||||
&GraphNodes[UniversalSet],
|
||||
getNode(CI.getOperand(0))));
|
||||
#else
|
||||
getNode(CI.getOperand(0));
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user