diff options
author | Chris Lattner <sabre@nondot.org> | 2007-04-04 00:30:49 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-04-04 00:30:49 +0000 |
commit | c712a1322ac74fc6f5f801cd57141368ea0a23c6 (patch) | |
tree | 30a6249f63ae9c69c3d7d79f7ebd82e7292705c5 | |
parent | 2376346a8e42b61f62643ebd977b1c586e338ee6 (diff) | |
download | bcm5719-llvm-c712a1322ac74fc6f5f801cd57141368ea0a23c6.tar.gz bcm5719-llvm-c712a1322ac74fc6f5f801cd57141368ea0a23c6.zip |
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.
llvm-svn: 35643
-rw-r--r-- | llvm/include/llvm/ValueSymbolTable.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/ValueSymbolTable.h b/llvm/include/llvm/ValueSymbolTable.h index f5dcae0877f..94aa06f0da5 100644 --- a/llvm/include/llvm/ValueSymbolTable.h +++ b/llvm/include/llvm/ValueSymbolTable.h @@ -61,7 +61,7 @@ public: /// @{ public: - ValueSymbolTable() : vmap(16), LastUnique(0) {} + ValueSymbolTable() : vmap(0), LastUnique(0) {} ~ValueSymbolTable(); /// @} |