OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "src/debug/debug-scopes.h" | 5 #include "src/debug/debug-scopes.h" |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 | 8 |
9 #include "src/ast/scopes.h" | 9 #include "src/ast/scopes.h" |
10 #include "src/compiler.h" | |
11 #include "src/debug/debug.h" | 10 #include "src/debug/debug.h" |
12 #include "src/frames-inl.h" | 11 #include "src/frames-inl.h" |
13 #include "src/globals.h" | 12 #include "src/globals.h" |
14 #include "src/isolate-inl.h" | 13 #include "src/isolate-inl.h" |
15 #include "src/parsing/parse-info.h" | 14 #include "src/parsing/parse-info.h" |
16 #include "src/parsing/parser.h" | 15 #include "src/parsing/parser.h" |
17 #include "src/parsing/rewriter.h" | 16 #include "src/parsing/rewriter.h" |
18 | 17 |
19 namespace v8 { | 18 namespace v8 { |
20 namespace internal { | 19 namespace internal { |
(...skipping 810 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
831 DCHECK((beg_pos >= 0 && end_pos >= 0) || inner_scope->is_hidden()); | 830 DCHECK((beg_pos >= 0 && end_pos >= 0) || inner_scope->is_hidden()); |
832 if (beg_pos <= position && position < end_pos) { | 831 if (beg_pos <= position && position < end_pos) { |
833 GetNestedScopeChain(isolate, inner_scope, position); | 832 GetNestedScopeChain(isolate, inner_scope, position); |
834 return; | 833 return; |
835 } | 834 } |
836 } | 835 } |
837 } | 836 } |
838 | 837 |
839 } // namespace internal | 838 } // namespace internal |
840 } // namespace v8 | 839 } // namespace v8 |
OLD | NEW |