The (negative) offset from a SymbolTableListTraits-using ilist to its container
[oota-llvm.git] / lib / VMCore / BasicBlock.cpp
index e10948e2ad3103133240aac3b6cf4993c5fe1635..431bb5090a764870d1f8179ef97667c2b3f75747 100644 (file)
@@ -72,8 +72,6 @@ template class SymbolTableListTraits<Instruction, BasicBlock>;
 BasicBlock::BasicBlock(const std::string &Name, Function *NewParent,
                        BasicBlock *InsertBefore)
   : Value(Type::LabelTy, Value::BasicBlockVal), Parent(0) {
-  // Initialize the instlist.
-  InstList.setItemParent(this);
 
   // Make sure that we get added to a function
   LeakDetector::addGarbageObject(this);