This is step 3 of adding the 'assert' statement. Differential Revision: https://reviews.llvm.org/D99751