Commit 51a6cd3a authored by mstarzinger's avatar mstarzinger Committed by Commit bot

[compiler] Avoid spamming --trace-opt with lookup failures.

This stops printing a log line for when a lookup in the optimized code
map did not yield a result. Logging such a negative result that will
inevitably trigger a compile anyways has little benefit and just spams
the console unnecessarily.

R=jkummerow@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#35623}
parent e4d5a446
......@@ -13601,12 +13601,6 @@ CodeAndLiterals SharedFunctionInfo::SearchOptimizedCodeMap(
: LiteralsArray::cast(literals_cell->value())};
}
}
if (FLAG_trace_opt && !OptimizedCodeMapIsCleared() &&
result.code == nullptr) {
PrintF("[didn't find optimized code in optimized code map for ");
ShortPrint();
PrintF("]\n");
}
return result;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment