OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
794a014
)
Initialize the symbol table to zero explicitly. This ensures that the
author
Chris Lattner
<sabre@nondot.org>
Wed, 4 Apr 2007 00:30:49 +0000
(
00:30
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 4 Apr 2007 00:30:49 +0000
(
00:30
+0000)
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
patch
|
blob
|
history
diff --git
a/include/llvm/ValueSymbolTable.h
b/include/llvm/ValueSymbolTable.h
index
f5dcae0
..
94aa06f
100644
(file)
--- 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();
/// @}