Make the ModuleLevel datastructure more sane. When a function-local value
authorChris Lattner <sabre@nondot.org>
Sat, 10 Feb 2007 06:09:41 +0000 (06:09 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 10 Feb 2007 06:09:41 +0000 (06:09 +0000)
commit7cad3cf44819449e1b3450f74adca4193bb9cff2
tree4bcb0158408b88e0fc951ef81c2ced9439909514
parent06f94d59026b5de5b22a47c01dd452d8a8bbeaa7
Make the ModuleLevel datastructure more sane.  When a function-local value
is inserted into the table, it remembers that the value needs to be popped
off.  This makes purgeFunction much faster, speeding up bcwriting of 447.dealII
from 6.8->4.6s (47%).

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