diff options
author | Lorenzo Casalino <lorenzo.casalino93@gmail.com> | 2020-01-01 19:53:16 +0000 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2020-01-01 20:22:32 +0000 |
commit | f9f78cf6ac73d9148be9b626f418bf6770e512f6 (patch) | |
tree | 01fcbc5bb618193ef97ccf11252543e963d0b304 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h | |
parent | 11552433ebfc7243c0b66367bdffaba52e74b354 (diff) | |
download | bcm5719-llvm-f9f78cf6ac73d9148be9b626f418bf6770e512f6.tar.gz bcm5719-llvm-f9f78cf6ac73d9148be9b626f418bf6770e512f6.zip |
[MachineScheduler] improve reuse of 'releaseNode'method
The 'SchedBoundary::releaseNode' is merely invoked for releasing the Top/Bottom root nodes.
However, 'SchedBoundary::releasePending' uses its same logic to check if the Pending queue
has any releasable SUnit.
It is possible to slightly modify the body of the two, allowing re-use of the former ('releaseNode')
in the latter.
Patch by Lorenzo Casalino <lorenzo.casalino93@gmail.com>
Reviewers: MatzeB, fhahn, atrick
Reviewed By: fhahn
Differential Revision: https://reviews.llvm.org/D65506
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h')
0 files changed, 0 insertions, 0 deletions