Only compute the module levels info once per module, instead of once
authorChris Lattner <sabre@nondot.org>
Sat, 10 Feb 2007 05:54:33 +0000 (05:54 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 10 Feb 2007 05:54:33 +0000 (05:54 +0000)
commit06f94d59026b5de5b22a47c01dd452d8a8bbeaa7
tree3de6417f0bfaca27f1519c39202a292e84258d6a
parent77aae264a00671527842c9e0826abed43d1f77b1
Only compute the module levels info once per module, instead of once
per function.  This speeds up bcwriting on 447.dealII from 10.16s to 6.81s
(49%).

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