projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12d9a90
)
Revert patch. It broke the build.
author
Bill Wendling
<isanbard@gmail.com>
Fri, 23 Mar 2012 07:21:18 +0000
(07:21 +0000)
committer
Bill Wendling
<isanbard@gmail.com>
Fri, 23 Mar 2012 07:21:18 +0000
(07:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153314
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Linker/LinkModules.cpp
patch
|
blob
|
history
diff --git
a/lib/Linker/LinkModules.cpp
b/lib/Linker/LinkModules.cpp
index dca523c7ab18e3bfe4f5ac9cdb4bb49eb291641c..02905bc33973d447bb478e7b2c0b0afea4b43e03 100644
(file)
--- a/
lib/Linker/LinkModules.cpp
+++ b/
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;