[llvm-commits] CVS: llvm/include/llvm/ValueSymbolTable.h
Chris Lattner
sabre at nondot.org
Tue Apr 3 17:31:07 PDT 2007
Changes in directory llvm/include/llvm:
ValueSymbolTable.h updated: 1.9 -> 1.10
---
Log message:
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.
---
Diffs of the changes: (+1 -1)
ValueSymbolTable.h | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/include/llvm/ValueSymbolTable.h
diff -u llvm/include/llvm/ValueSymbolTable.h:1.9 llvm/include/llvm/ValueSymbolTable.h:1.10
--- llvm/include/llvm/ValueSymbolTable.h:1.9 Sun Mar 25 20:45:35 2007
+++ llvm/include/llvm/ValueSymbolTable.h Tue Apr 3 19:30:49 2007
@@ -61,7 +61,7 @@
/// @{
public:
- ValueSymbolTable() : vmap(16), LastUnique(0) {}
+ ValueSymbolTable() : vmap(0), LastUnique(0) {}
~ValueSymbolTable();
/// @}
More information about the llvm-commits
mailing list