Commit dbda66ec authored by marja's avatar marja Committed by Commit bot

[scopes] With --print-scopes, print is_hidden() status too.

BUG=v8:5516
R=vogelheim@chromium.org

Review-Url: https://codereview.chromium.org/2669153002
Cr-Commit-Position: refs/heads/master@{#42899}
parent f2d2ebca
......@@ -1569,6 +1569,9 @@ void Scope::Print(int n) {
}
PrintF(" { // (%d, %d)\n", start_position(), end_position());
if (is_hidden()) {
Indent(n1, "// is hidden\n");
}
// Function name, if any (named function literals, only).
if (function != nullptr) {
......
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