summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Linker/LinkModules.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2017-02-03 17:01:14 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2017-02-03 17:01:14 +0000
commite6fd9ff96a3c9d146acca4ce824a6dc5278eb4c8 (patch)
tree0aa1553560e7f145f40da57fe61ec44ef061b80d /llvm/lib/Linker/LinkModules.cpp
parent7c702116536d2d8d941a2d04c037538970cbe95a (diff)
downloadbcm5719-llvm-e6fd9ff96a3c9d146acca4ce824a6dc5278eb4c8.tar.gz
bcm5719-llvm-e6fd9ff96a3c9d146acca4ce824a6dc5278eb4c8.zip
IRMover: Merge flags LinkModuleInlineAsm and IsPerformingImport.
Currently these flags are always the inverse of each other, so there is no need to keep them separate. Differential Revision: https://reviews.llvm.org/D29471 llvm-svn: 294016
Diffstat (limited to 'llvm/lib/Linker/LinkModules.cpp')
-rw-r--r--llvm/lib/Linker/LinkModules.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Linker/LinkModules.cpp b/llvm/lib/Linker/LinkModules.cpp
index 50936fa55f7..f11fd54f4af 100644
--- a/llvm/lib/Linker/LinkModules.cpp
+++ b/llvm/lib/Linker/LinkModules.cpp
@@ -538,7 +538,6 @@ bool ModuleLinker::run() {
[this](GlobalValue &GV, IRMover::ValueAdder Add) {
addLazyFor(GV, Add);
},
- /* LinkModuleInlineAsm */ true,
/* IsPerformingImport */ false)) {
handleAllErrors(std::move(E), [&](ErrorInfoBase &EIB) {
DstM.getContext().diagnose(LinkDiagnosticInfo(DS_Error, EIB.message()));
OpenPOWER on IntegriCloud