[turbofan] Bring back early return in JSInliningHeuristic.

This redcues the noise created by --trace-turbo-inlining when there
actually are no candidates being processed.

R=bmeurer@chromium.org

Review URL: https://codereview.chromium.org/1410723004

Cr-Commit-Position: refs/heads/master@{#31885}
This commit is contained in:
mstarzinger 2015-11-09 06:14:42 -08:00 committed by Commit bot
parent 9acf00c78d
commit ce1720690b

View File

@ -89,6 +89,7 @@ Reduction JSInliningHeuristic::Reduce(Node* node) {
void JSInliningHeuristic::Finalize() {
if (candidates_.empty()) return; // Nothing to do without candidates.
if (FLAG_trace_turbo_inlining) PrintCandidates();
while (!candidates_.empty()) {