Skip to content

Commit d744ab0

Browse files
Merge pull request #24908 from apple/rxwei-patch-5
Update OSLogOptimization.cpp to fix warning.
2 parents aa9f041 + c718126 commit d744ab0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/SILOptimizer/Mandatory/OSLogOptimization.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ static SILValue emitCodeForSymbolicValue(SymbolicValue symVal,
390390
return newStructInst;
391391
}
392392
default: {
393-
assert(false && "Symbolic value kind is not supported");
393+
llvm_unreachable("Symbolic value kind is not supported");
394394
}
395395
}
396396
}

0 commit comments

Comments
 (0)