mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-20 09:30:43 +00:00
do not crash when using -debug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21092 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
80196b1331
commit
bd135c7706
@ -840,6 +840,8 @@ void Andersens::visitCastInst(CastInst &CI) {
|
|||||||
#if 0
|
#if 0
|
||||||
Constraints.push_back(Constraint(Constraint::Copy, getNodeValue(CI),
|
Constraints.push_back(Constraint(Constraint::Copy, getNodeValue(CI),
|
||||||
&GraphNodes[UniversalSet]));
|
&GraphNodes[UniversalSet]));
|
||||||
|
#else
|
||||||
|
getNodeValue(CI);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
} else if (isa<PointerType>(Op->getType())) {
|
} else if (isa<PointerType>(Op->getType())) {
|
||||||
@ -848,6 +850,8 @@ void Andersens::visitCastInst(CastInst &CI) {
|
|||||||
Constraints.push_back(Constraint(Constraint::Copy,
|
Constraints.push_back(Constraint(Constraint::Copy,
|
||||||
&GraphNodes[UniversalSet],
|
&GraphNodes[UniversalSet],
|
||||||
getNode(CI.getOperand(0))));
|
getNode(CI.getOperand(0))));
|
||||||
|
#else
|
||||||
|
getNode(CI.getOperand(0));
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user