Commit 367cef20 authored by Leszek Swirski's avatar Leszek Swirski Committed by Commit Bot

[print] Add external string prefix to string print

Change-Id: I86d8b2046a0809287be31172ec261e4679da66f2
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2358731
Commit-Queue: Marja Hölttä <marja@chromium.org>
Auto-Submit: Leszek Swirski <leszeks@chromium.org>
Reviewed-by: 's avatarMarja Hölttä <marja@chromium.org>
Cr-Commit-Position: refs/heads/master@{#69416}
parent c5f952dc
...@@ -308,6 +308,8 @@ const char* String::PrefixForDebugPrint() const { ...@@ -308,6 +308,8 @@ const char* String::PrefixForDebugPrint() const {
return "uc\""; return "uc\"";
} else if (shape.IsThin()) { } else if (shape.IsThin()) {
return "u>\""; return "u>\"";
} else if (shape.IsExternal()) {
return "ue\"";
} else { } else {
return "u\""; return "u\"";
} }
...@@ -319,6 +321,8 @@ const char* String::PrefixForDebugPrint() const { ...@@ -319,6 +321,8 @@ const char* String::PrefixForDebugPrint() const {
return "c\""; return "c\"";
} else if (shape.IsThin()) { } else if (shape.IsThin()) {
return ">\""; return ">\"";
} else if (shape.IsExternal()) {
return "e\"";
} else { } else {
return "\""; return "\"";
} }
......
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