[mksnapshot] Ditch the warning on empty builtins PGO data

This is the normal state on the main branch, let's not emit this warning
on every build.

Bug: v8:10470
Change-Id: I29744ea7f67881570fa12c249b12f00d2313289c
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3859851
Commit-Queue: Jakob Linke <jgruber@chromium.org>
Auto-Submit: Jakob Linke <jgruber@chromium.org>
Commit-Queue: Igor Sheludko <ishell@chromium.org>
Reviewed-by: Igor Sheludko <ishell@chromium.org>
Cr-Commit-Position: refs/heads/main@{#82773}
This commit is contained in:
Jakob Linke 2022-08-29 13:42:58 +02:00 committed by V8 LUCI CQ
parent 77c83f67c4
commit cf045ca244

View File

@ -101,13 +101,6 @@ EnsureInitProfileData() {
// Every function is required to have a hash in the log.
CHECK(pair.second.hash_has_value());
}
if (data.get()->size() == 0) {
PrintF(
"No branch hints were found in log file.\n"
"See the description of v8_builtins_profiling_log_file in BUILD.gn\n"
"for instructions on how to produce hints from a profiled v8.log "
"file\n");
}
return *data.get();
}