[Bitcode] AtEndOfStream should only check against the size if it's known.
authorJordan Rose <jordan_rose@apple.com>
Thu, 13 Nov 2014 00:08:41 +0000 (00:08 +0000)
committerJordan Rose <jordan_rose@apple.com>
Thu, 13 Nov 2014 00:08:41 +0000 (00:08 +0000)
This avoids an issue where AtEndOfStream mistakenly returns true at the /start/ of
a stream.

(In the rare case that the size is known and actually 0, the slow path will still
handle it correctly.)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221840 91177308-0d34-0410-b5e6-96231b3b80d8


No differences found