summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Linker/LinkModules.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-03-22 20:47:54 +0000
committerBill Wendling <isanbard@gmail.com>2012-03-22 20:47:54 +0000
commit44022b2ae8d8a1fc76eaacdbe19f59339086c934 (patch)
tree0162d01c0b59972f7f6c1e154b67b3cd30e27d01 /llvm/lib/Linker/LinkModules.cpp
parent8c2cc41691fddb632aa35358573fdab80acfb706 (diff)
downloadbcm5719-llvm-44022b2ae8d8a1fc76eaacdbe19f59339086c934.tar.gz
bcm5719-llvm-44022b2ae8d8a1fc76eaacdbe19f59339086c934.zip
Some whitespace and comment cleanup.
llvm-svn: 153278
Diffstat (limited to 'llvm/lib/Linker/LinkModules.cpp')
-rw-r--r--llvm/lib/Linker/LinkModules.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/Linker/LinkModules.cpp b/llvm/lib/Linker/LinkModules.cpp
index e2ec0224377..02905bc3397 100644
--- a/llvm/lib/Linker/LinkModules.cpp
+++ b/llvm/lib/Linker/LinkModules.cpp
@@ -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);
OpenPOWER on IntegriCloud