Commit 0742e623 authored by Benedikt Meurer's avatar Benedikt Meurer Committed by Commit Bot

[ic-processor] Also print the slow_reason if present.

Change-Id: I721a014262641ccc2b7dde97eaf0cadbb8d0b649
Reviewed-on: https://chromium-review.googlesource.com/743016Reviewed-by: 's avatarCamillo Bruni <cbruni@chromium.org>
Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#49022}
parent 8bb392d2
...@@ -156,7 +156,8 @@ IcProcessor.prototype.processPropertyIC = function ( ...@@ -156,7 +156,8 @@ IcProcessor.prototype.processPropertyIC = function (
var entry = this.profile_.findEntry(pc); var entry = this.profile_.findEntry(pc);
print(type + " (" + old_state + "->" + new_state + modifier + ") at " + print(type + " (" + old_state + "->" + new_state + modifier + ") at " +
this.formatName(entry) + ":" + line + ":" + column + " " + name + this.formatName(entry) + ":" + line + ":" + column + " " + name +
" (map 0x" + map.toString(16) + ")"); " (map 0x" + map.toString(16) + ")" +
(slow_reason ? " " + slow_reason : ""));
} }
......
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