summaryrefslogtreecommitdiff
path: root/include/llvm/ValueSymbolTable.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-03-26 01:45:35 +0000
committerChris Lattner <sabre@nondot.org>2007-03-26 01:45:35 +0000
commit5eeb4b5bf6c3380fc27f38ab5a59c19550869ba0 (patch)
tree11833f1309c616dfd2601b646803e1502ce6a754 /include/llvm/ValueSymbolTable.h
parentb3b29dfe7a501a8dcf7e2ccdd76c560bfb0858c6 (diff)
downloadllvm-5eeb4b5bf6c3380fc27f38ab5a59c19550869ba0.tar.gz
llvm-5eeb4b5bf6c3380fc27f38ab5a59c19550869ba0.tar.bz2
llvm-5eeb4b5bf6c3380fc27f38ab5a59c19550869ba0.tar.xz
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/ValueSymbolTable.h')
-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 2f3da5df06..f5dcae0877 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();
/// @}