From cb917f7abd1d929ea1e2558c6fd5860ed23339c2 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 4 Apr 2007 00:30:49 +0000 Subject: [PATCH] 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 --- include/llvm/ValueSymbolTable.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/ValueSymbolTable.h b/include/llvm/ValueSymbolTable.h index f5dcae0877f..94aa06f0da5 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(); /// @}