Commit de66f94d authored by Camillo Bruni's avatar Camillo Bruni Committed by Commit Bot

[printing] Print SFI inferred_name

Change-Id: Ifb7366334cb16201a497578776dffb2b36f32a43
Reviewed-on: https://chromium-review.googlesource.com/979802Reviewed-by: 's avatarMarja Hölttä <marja@chromium.org>
Commit-Queue: Camillo Bruni <cbruni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#52213}
parent 3dfa955a
...@@ -1170,6 +1170,9 @@ void SharedFunctionInfo::SharedFunctionInfoPrint(std::ostream& os) { // NOLINT ...@@ -1170,6 +1170,9 @@ void SharedFunctionInfo::SharedFunctionInfoPrint(std::ostream& os) { // NOLINT
} else { } else {
os << "<no-shared-name>"; os << "<no-shared-name>";
} }
if (HasInferredName()) {
os << "\n - inferred name: " << Brief(inferred_name());
}
os << "\n - kind: " << kind(); os << "\n - kind: " << kind();
if (needs_home_object()) { if (needs_home_object()) {
os << "\n - needs_home_object"; os << "\n - needs_home_object";
......
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