Revert patch. It broke the build.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153314 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling 2012-03-23 07:21:18 +00:00
parent 12d9a9002f
commit b22a166796

View File

@ -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;