mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-23 00:20:25 +00:00
[C++] Use 'nullptr'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207083 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -897,7 +897,7 @@ void Interpreter::visitSwitchInst(SwitchInst &I) {
|
||||
GenericValue CondVal = getOperandValue(Cond, SF);
|
||||
|
||||
// Check to see if any of the cases match...
|
||||
BasicBlock *Dest = 0;
|
||||
BasicBlock *Dest = nullptr;
|
||||
for (SwitchInst::CaseIt i = I.case_begin(), e = I.case_end(); i != e; ++i) {
|
||||
GenericValue CaseVal = getOperandValue(i.getCaseValue(), SF);
|
||||
if (executeICMP_EQ(CondVal, CaseVal, ElTy).IntVal != 0) {
|
||||
|
||||
Reference in New Issue
Block a user