Fix a heinous inefficiency introduced in r149918, wherein reading each byte of a
authorChris Lattner <sabre@nondot.org>
Mon, 21 Jan 2013 18:24:49 +0000 (18:24 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 21 Jan 2013 18:24:49 +0000 (18:24 +0000)
commit69582cf6c46456ad542df5aa09c47700c9525645
tree9cbf35947385101c7c8f9d9586f3bf6b1f7ad86b
parentafe77f33b2a361ed0d001596dcdde0e16d57abee
Fix a heinous inefficiency introduced in r149918, wherein reading each byte of a
BLOB (i.e., large, performance intensive data) in a bitcode file was switched to
invoking one virtual method call per byte read.  Now we do one virtual call per
BLOB.

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