Clone and specialize CreateSlotIfNeeded into CreateFunctionValueSlot to handle
authorChris Lattner <sabre@nondot.org>
Sat, 10 Feb 2007 05:45:09 +0000 (05:45 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 10 Feb 2007 05:45:09 +0000 (05:45 +0000)
commit77aae264a00671527842c9e0826abed43d1f77b1
tree3298b4b349ff94bd3d97cdd688999249aff3718b
parent2b8269f92bde5e09e92b54f5ff9cda93e9831b71
Clone and specialize CreateSlotIfNeeded into CreateFunctionValueSlot to handle
function-local values.  This speeds up bcwriting a small 2.2% (10.384->10.156s
on 447.dealII), but paves the way for more important changes.

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