projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
The (negative) offset from a SymbolTableListTraits-using ilist to its container
[oota-llvm.git]
/
lib
/
VMCore
/
Module.cpp
diff --git
a/lib/VMCore/Module.cpp
b/lib/VMCore/Module.cpp
index 465cb6944586c9d8555055030a367adaa4886bf9..ddd503dea1c9cf3793b21baa08d1f84def9b7cee 100644
(file)
--- a/
lib/VMCore/Module.cpp
+++ b/
lib/VMCore/Module.cpp
@@
-64,8
+64,6
@@
template class SymbolTableListTraits<Function, Module>;
Module::Module(const std::string &MID)
: ModuleID(MID), DataLayout("") {
- FunctionList.setItemParent(this);
- GlobalList.setItemParent(this);
ValSymTab = new ValueSymbolTable();
TypeSymTab = new TypeSymbolTable();
}