fix some type confusion in ReadVBR64: "Piece" should be only 32 bits,
authorChris Lattner <sabre@nondot.org>
Tue, 7 Jul 2009 18:39:49 +0000 (18:39 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 7 Jul 2009 18:39:49 +0000 (18:39 +0000)
commitf5a1edce2370664a439cebdc895c8d559354b0c6
tree4071c99f8b6ed3c5673d814852cf87c4b4778ced
parenta9d1f2c559ef4b2549e29288fe6944e68913ba0f
fix some type confusion in ReadVBR64: "Piece" should be only 32 bits,
not 64, because we read at most 32 bits at a time.  OTOH, "Result" must
be 64-bits and insertion into it must be 64-bit clean.  Thanks to Ivan
Sorokin for bringing this up.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74932 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Bitcode/BitstreamReader.h