Commit a8c8e87d authored by Georg Neis's avatar Georg Neis Committed by Commit Bot

Fix printing of ArrayBoilerplateDescription

It used to print the elements kind as a byte, thus producing \000 etc.
This also broke the json produced by --trace-turbo.

Change-Id: I2f9ce5cb5815ab30fd7866e52fa5ab2732904e1b
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2074640
Commit-Queue: Georg Neis <neis@chromium.org>
Commit-Queue: Nico Hartmann <nicohartmann@chromium.org>
Auto-Submit: Georg Neis <neis@chromium.org>
Reviewed-by: 's avatarNico Hartmann <nicohartmann@chromium.org>
Cr-Commit-Position: refs/heads/master@{#66466}
parent 527f9de1
......@@ -2156,7 +2156,8 @@ void ClassPositions::BriefPrintDetails(std::ostream& os) {
}
void ArrayBoilerplateDescription::BriefPrintDetails(std::ostream& os) {
os << " " << elements_kind() << ", " << Brief(constant_elements());
os << " " << ElementsKindToString(elements_kind()) << ", "
<< Brief(constant_elements());
}
void CallableTask::BriefPrintDetails(std::ostream& os) {
......
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