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 | fc30d1bb6999c8c372879f7adbf08b78cab38e3c (patch) | |
tree | 0d73bbfa438e38f674a4ea9ed6e2e4200c680991 /llvm/lib/Bytecode/Writer/Writer.cpp | |
parent | e93db8fba23c2d4366c94f67d27f6b3dc6a45cff (diff) | |
download | bcm5719-llvm-fc30d1bb6999c8c372879f7adbf08b78cab38e3c.tar.gz bcm5719-llvm-fc30d1bb6999c8c372879f7adbf08b78cab38e3c.zip |
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.
llvm-svn: 34084
Diffstat (limited to 'llvm/lib/Bytecode/Writer/Writer.cpp')
-rw-r--r-- | llvm/lib/Bytecode/Writer/Writer.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Bytecode/Writer/Writer.cpp b/llvm/lib/Bytecode/Writer/Writer.cpp index a2e8fe566d3..a7d4b005ab7 100644 --- a/llvm/lib/Bytecode/Writer/Writer.cpp +++ b/llvm/lib/Bytecode/Writer/Writer.cpp @@ -1112,8 +1112,6 @@ void BytecodeWriter::outputFunction(const Function *F) { // Get slot information about the function... Table.incorporateFunction(F); - outputConstants(true); - // Output all of the instructions in the body of the function outputInstructions(F); |