From fc30d1bb6999c8c372879f7adbf08b78cab38e3c Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 9 Feb 2007 07:51:47 +0000 Subject: 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 --- llvm/lib/Bytecode/Writer/Writer.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'llvm/lib/Bytecode/Writer/Writer.cpp') 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); -- cgit v1.2.3