Some whitespace and comment cleanup.
authorBill Wendling <isanbard@gmail.com>
Thu, 22 Mar 2012 20:47:54 +0000 (20:47 +0000)
committerBill Wendling <isanbard@gmail.com>
Thu, 22 Mar 2012 20:47:54 +0000 (20:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153278 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Linker/LinkModules.cpp

index e2ec02243773e8256ce1d1b5e1d60edbd7fa51ea..02905bc33973d447bb478e7b2c0b0afea4b43e03 100644 (file)
@@ -237,7 +237,6 @@ void TypeMapTy::linkDefinedTypeBodies() {
   DstResolvedOpaqueTypes.clear();
 }
 
-
 /// get - Return the mapped type to use for the specified input type from the
 /// source module.
 Type *TypeMapTy::get(Type *Ty) {
@@ -341,8 +340,6 @@ Type *TypeMapTy::getImpl(Type *Ty) {
   return *Entry = DTy;
 }
 
-
-
 //===----------------------------------------------------------------------===//
 // ModuleLinker implementation.
 //===----------------------------------------------------------------------===//
@@ -597,8 +594,6 @@ void ModuleLinker::computeTypeMapping() {
   // At this point, the destination module may have a type "%foo = { i32 }" for
   // example.  When the source module got loaded into the same LLVMContext, if
   // it had the same type, it would have been renamed to "%foo.42 = { i32 }".
-  // Though it isn't required for correctness, attempt to link these up to clean
-  // up the IR.
   std::vector<StructType*> SrcStructTypes;
   SrcM->findUsedStructTypes(SrcStructTypes);