Fix a bug where calling materializeModule could corrupt the module, reading
authorChris Lattner <sabre@nondot.org>
Mon, 9 Apr 2007 20:28:40 +0000 (20:28 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 9 Apr 2007 20:28:40 +0000 (20:28 +0000)
commit24e90d3c5b65844dcd0dbeb83a92a5b35f0de4c8
treed489cf70698a81f8436c7239e00ac013467bb73f
parent5464b96073626f811d79d56fa37be230552d2264
Fix a bug where calling materializeModule could corrupt the module, reading
multiple copies of the function into the Function*.

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