summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-03-23 07:21:18 +0000
committerBill Wendling <isanbard@gmail.com>2012-03-23 07:21:18 +0000
commit947f92869a5a5a556fbd684012a9e888ff864005 (patch)
tree21f09d5c3b3cf3d1d745e55b2cd67a8cf578ed40 /llvm
parent7389acda89a2c4e99e09057f5265dc56d7f2a31a (diff)
downloadbcm5719-llvm-947f92869a5a5a556fbd684012a9e888ff864005.tar.gz
bcm5719-llvm-947f92869a5a5a556fbd684012a9e888ff864005.zip
Revert patch. It broke the build.
llvm-svn: 153314
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/Linker/LinkModules.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/Linker/LinkModules.cpp b/llvm/lib/Linker/LinkModules.cpp
index dca523c7ab1..02905bc3397 100644
--- a/llvm/lib/Linker/LinkModules.cpp
+++ b/llvm/lib/Linker/LinkModules.cpp
@@ -1226,7 +1226,6 @@ bool ModuleLinker::run() {
}
linkFunctionBody(cast<Function>(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;
OpenPOWER on IntegriCloud