aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-04-04 00:30:49 +0000
committerChris Lattner <sabre@nondot.org>2007-04-04 00:30:49 +0000
commitcb917f7abd1d929ea1e2558c6fd5860ed23339c2 (patch)
tree5445d9268582e2ad5473c7d26c7522aebb7b96cc
parent794a014809d810b7ee9a96be76774185561f0dcc (diff)
Initialize the symbol table to zero explicitly. This ensures that the
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
-rw-r--r--include/llvm/ValueSymbolTable.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/ValueSymbolTable.h b/include/llvm/ValueSymbolTable.h
index f5dcae0877..94aa06f0da 100644
--- a/include/llvm/ValueSymbolTable.h
+++ b/include/llvm/ValueSymbolTable.h
@@ -61,7 +61,7 @@ public:
/// @{
public:
- ValueSymbolTable() : vmap(16), LastUnique(0) {}
+ ValueSymbolTable() : vmap(0), LastUnique(0) {}
~ValueSymbolTable();
/// @}