Add some assertions to appease the static analyzer.

No functionality change.

llvm-svn: 177185
2 files changed