OSDN Git Service

Initialize the symbol table to zero explicitly. This ensures that the
authorChris Lattner <sabre@nondot.org>
Wed, 4 Apr 2007 00:30:49 +0000 (00:30 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 4 Apr 2007 00:30:49 +0000 (00:30 +0000)
symbol table does no allocations for prototypes or other lazily deserialized
functions, saving significant space and time.

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

include/llvm/ValueSymbolTable.h

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