OSDN Git Service

Start value symbol tables out small (space for 16 elts), not huge (space for 512).
authorChris Lattner <sabre@nondot.org>
Mon, 26 Mar 2007 01:45:35 +0000 (01:45 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 26 Mar 2007 01:45:35 +0000 (01:45 +0000)
This is particularly useful for the JIT, which lazily deserializes functions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35346 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ValueSymbolTable.h

index 2f3da5d..f5dcae0 100644 (file)
@@ -61,7 +61,7 @@ public:
 /// @{
 public:
 
-  ValueSymbolTable() : LastUnique(0) {}
+  ValueSymbolTable() : vmap(16), LastUnique(0) {}
   ~ValueSymbolTable();
 
 /// @}