mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
Join tools couldn't be used in the middle of the toolchain.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60665 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ad889a7f88
commit
b677df82ed
@ -308,7 +308,6 @@ int CompilationGraph::Build (const sys::Path& TempDir,
|
||||
for (std::vector<const Node*>::iterator B = JTV.begin(), E = JTV.end();
|
||||
B != E; ++B) {
|
||||
|
||||
sys::Path Out;
|
||||
const Node* CurNode = *B;
|
||||
JoinTool* JT = &dynamic_cast<JoinTool&>(*CurNode->ToolPtr.getPtr());
|
||||
|
||||
@ -325,10 +324,10 @@ int CompilationGraph::Build (const sys::Path& TempDir,
|
||||
if (CurAction.StopCompilation())
|
||||
return 0;
|
||||
|
||||
const Node* NextNode =
|
||||
&getNode(ChooseEdge(CurNode->OutEdges, InLangs,
|
||||
CurNode->Name())->ToolName());
|
||||
PassThroughGraph(Out, NextNode, InLangs, TempDir, LangMap);
|
||||
const Node* NextNode = &getNode(ChooseEdge(CurNode->OutEdges, InLangs,
|
||||
CurNode->Name())->ToolName());
|
||||
PassThroughGraph(sys::Path(CurAction.OutFile()), NextNode,
|
||||
InLangs, TempDir, LangMap);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user