This could have generated non-random output under error conditions in release builds. llvm-svn: 210065