The (negative) offset from a SymbolTableListTraits-using ilist to its container
[oota-llvm.git] / lib / VMCore / Module.cpp
index 465cb6944586c9d8555055030a367adaa4886bf9..ddd503dea1c9cf3793b21baa08d1f84def9b7cee 100644 (file)
@@ -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();
 }