Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(448)

Side by Side Diff: src/debug/debug-scopes.cc

Issue 2268513002: Cleanup: Move ParseInfo to a separate file. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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" 10 #include "src/compiler.h"
11 #include "src/debug/debug.h" 11 #include "src/debug/debug.h"
12 #include "src/frames-inl.h" 12 #include "src/frames-inl.h"
13 #include "src/globals.h" 13 #include "src/globals.h"
14 #include "src/isolate-inl.h" 14 #include "src/isolate-inl.h"
15 #include "src/parsing/parse-info.h"
15 #include "src/parsing/parser.h" 16 #include "src/parsing/parser.h"
16 #include "src/parsing/rewriter.h" 17 #include "src/parsing/rewriter.h"
17 18
18 namespace v8 { 19 namespace v8 {
19 namespace internal { 20 namespace internal {
20 21
21 ScopeIterator::ScopeIterator(Isolate* isolate, FrameInspector* frame_inspector, 22 ScopeIterator::ScopeIterator(Isolate* isolate, FrameInspector* frame_inspector,
22 ScopeIterator::Option option) 23 ScopeIterator::Option option)
23 : isolate_(isolate), 24 : isolate_(isolate),
24 frame_inspector_(frame_inspector), 25 frame_inspector_(frame_inspector),
(...skipping 806 matching lines...) Expand 10 before | Expand all | Expand 10 after
831 DCHECK((beg_pos >= 0 && end_pos >= 0) || inner_scope->is_hidden()); 832 DCHECK((beg_pos >= 0 && end_pos >= 0) || inner_scope->is_hidden());
832 if (beg_pos <= position && position < end_pos) { 833 if (beg_pos <= position && position < end_pos) {
833 GetNestedScopeChain(isolate, inner_scope, position); 834 GetNestedScopeChain(isolate, inner_scope, position);
834 return; 835 return;
835 } 836 }
836 } 837 }
837 } 838 }
838 839
839 } // namespace internal 840 } // namespace internal
840 } // namespace v8 841 } // namespace v8
OLDNEW
« no previous file with comments | « src/crankshaft/hydrogen.h ('k') | src/parsing/parse-info.h » ('j') | src/parsing/parse-info.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698