From b22a166796afd06c2ccea8838220dbbe3644de81 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Fri, 23 Mar 2012 07:21:18 +0000 Subject: Revert patch. It broke the build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153314 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Linker/LinkModules.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lib/Linker') diff --git a/lib/Linker/LinkModules.cpp b/lib/Linker/LinkModules.cpp index dca523c7ab..02905bc339 100644 --- a/lib/Linker/LinkModules.cpp +++ b/lib/Linker/LinkModules.cpp @@ -1226,7 +1226,6 @@ bool ModuleLinker::run() { } linkFunctionBody(cast(ValueMap[SF]), SF); - SF->Dematerialize(); } // Resolve all uses of aliases with aliasees. @@ -1266,8 +1265,7 @@ bool ModuleLinker::run() { // Link in function body. linkFunctionBody(DF, SF); - SF->Dematerialize(); - + // "Remove" from vector by setting the element to 0. *I = 0; -- cgit v1.2.3-18-g5258