| Index: src/debug/debug-scopes.h
|
| diff --git a/src/debug/debug-scopes.h b/src/debug/debug-scopes.h
|
| index 1cbdcdcfbeda1b98742fe72117d38d265eb09bc0..84e5e96d53b7626597cab42f014da40e89decc8a 100644
|
| --- a/src/debug/debug-scopes.h
|
| +++ b/src/debug/debug-scopes.h
|
| @@ -85,9 +85,12 @@ class ScopeIterator {
|
| struct ExtendedScopeInfo {
|
| ExtendedScopeInfo(Handle<ScopeInfo> info, int start, int end)
|
| : scope_info(info), start_position(start), end_position(end) {}
|
| + explicit ExtendedScopeInfo(Handle<ScopeInfo> info)
|
| + : scope_info(info), start_position(-1), end_position(-1) {}
|
| Handle<ScopeInfo> scope_info;
|
| int start_position;
|
| int end_position;
|
| + bool is_hidden() { return start_position == -1 && end_position == -1; }
|
| };
|
|
|
| Isolate* isolate_;
|
|
|