Commit b2644df7 authored by Juliana Franco's avatar Juliana Franco Committed by Commit Bot

Converting PC value from decimal to hexadecimal, in trace-deopt option

Change-Id: Iec7f2868e1f0d20ad9046a5bda4bc1c87f038f23
Reviewed-on: https://chromium-review.googlesource.com/558292Reviewed-by: 's avatarBenedikt Meurer <bmeurer@chromium.org>
Commit-Queue: Juliana Patricia Vicente Franco <jupvfranco@google.com>
Cr-Commit-Position: refs/heads/master@{#46409}
parent 653f43d5
......@@ -14234,8 +14234,13 @@ void DeoptimizationInputData::DeoptimizationInputDataPrint(
}
for (int i = 0; i < deopt_count; i++) {
os << std::setw(6) << i << " " << std::setw(6) << AstId(i).ToInt() << " "
<< std::setw(6) << ArgumentsStackHeight(i)->value() << " "
<< std::setw(6) << Pc(i)->value();
<< std::setw(6) << ArgumentsStackHeight(i)->value() << " ";
int pc_value = Pc(i)->value();
if (pc_value != -1) {
os << std::setw(6) << std::hex << pc_value;
} else {
os << std::setw(6) << "NA";
}
if (!FLAG_print_code_verbose) {
os << "\n";
......
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