mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-06 07:24:42 +01:00
Make Target::CalculateProcess() return a sensible result.
The Calculate* functions in general should not derive any information that isn't implicit, but for Target the process pointer is a member so it's fine to return it for CalculateProcess(). llvm-svn: 260713
This commit is contained in:
@@ -1941,7 +1941,7 @@ Target::CalculateTarget ()
|
||||
ProcessSP
|
||||
Target::CalculateProcess ()
|
||||
{
|
||||
return ProcessSP();
|
||||
return m_process_sp;
|
||||
}
|
||||
|
||||
ThreadSP
|
||||
|
||||
Reference in New Issue
Block a user