diff options
author | Chris Lattner <sabre@nondot.org> | 2007-02-09 07:51:47 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-02-09 07:51:47 +0000 |
commit | ba6de4b1cf6057f9b62d785b2e8e70a469ce25d7 (patch) | |
tree | 9587263a7801f90a570ca20852f5e890fa7482ac /lib/Bytecode/Writer/SlotCalculator.h | |
parent | ff4304f8243f55e2e5c63bc95517cd38ff9295e1 (diff) |
1. constants can never occur in the symbol table.
2. All function-level constants are now incorporated into the module-level
constant pool, since the compaction table was removed. Eliminate extra
work to check for them.
This speeds up the bcwriter from 24.4s to 13.1s on 447.dealII and .73 -> .56s
on kc++ in a release build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34084 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode/Writer/SlotCalculator.h')
-rw-r--r-- | lib/Bytecode/Writer/SlotCalculator.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Bytecode/Writer/SlotCalculator.h b/lib/Bytecode/Writer/SlotCalculator.h index 6cddb30f99..353a97a1d1 100644 --- a/lib/Bytecode/Writer/SlotCalculator.h +++ b/lib/Bytecode/Writer/SlotCalculator.h @@ -132,7 +132,6 @@ private: // void processTypeSymbolTable(const TypeSymbolTable *ST); void processValueSymbolTable(const ValueSymbolTable *ST); - void processSymbolTableConstants(const ValueSymbolTable *ST); // insertPrimitives - helper for constructors to insert primitive types. void insertPrimitives(); |