Fix the bitcode reader to clear out function-specific state
authorDan Gohman <gohman@apple.com>
Wed, 25 Aug 2010 20:22:53 +0000 (20:22 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 25 Aug 2010 20:22:53 +0000 (20:22 +0000)
commit698138384e94bf315b4bc67481400ffab65e5f93
treeb0020a348ba072fa1615c9b370ec55fbeaa1fe1a
parent56e2a5774423047cd9b1a76e1e7b233567780ca6
Fix the bitcode reader to clear out function-specific state
from MDValueList between each function, now that the bitcode
writer is reusing the index space for function-local metadata.

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