diff options
author | Chris Lattner <sabre@nondot.org> | 2007-03-26 01:45:35 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-03-26 01:45:35 +0000 |
commit | 5eeb4b5bf6c3380fc27f38ab5a59c19550869ba0 (patch) | |
tree | 11833f1309c616dfd2601b646803e1502ce6a754 /include/llvm | |
parent | b3b29dfe7a501a8dcf7e2ccdd76c560bfb0858c6 (diff) | |
download | external_llvm-5eeb4b5bf6c3380fc27f38ab5a59c19550869ba0.zip external_llvm-5eeb4b5bf6c3380fc27f38ab5a59c19550869ba0.tar.gz external_llvm-5eeb4b5bf6c3380fc27f38ab5a59c19550869ba0.tar.bz2 |
Start value symbol tables out small (space for 16 elts), not huge (space for 512).
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
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/ValueSymbolTable.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/ValueSymbolTable.h b/include/llvm/ValueSymbolTable.h index 2f3da5d..f5dcae0 100644 --- a/include/llvm/ValueSymbolTable.h +++ b/include/llvm/ValueSymbolTable.h @@ -61,7 +61,7 @@ public: /// @{ public: - ValueSymbolTable() : LastUnique(0) {} + ValueSymbolTable() : vmap(16), LastUnique(0) {} ~ValueSymbolTable(); /// @} |