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 "src/debug/debug.h" | 7 #include "src/debug/debug.h" |
| 8 #include "src/frames-inl.h" |
8 #include "src/globals.h" | 9 #include "src/globals.h" |
9 #include "src/parser.h" | 10 #include "src/parser.h" |
10 #include "src/scopes.h" | 11 #include "src/scopes.h" |
11 | 12 |
12 namespace v8 { | 13 namespace v8 { |
13 namespace internal { | 14 namespace internal { |
14 | 15 |
15 ScopeIterator::ScopeIterator(Isolate* isolate, FrameInspector* frame_inspector, | 16 ScopeIterator::ScopeIterator(Isolate* isolate, FrameInspector* frame_inspector, |
16 bool ignore_nested_scopes) | 17 bool ignore_nested_scopes) |
17 : isolate_(isolate), | 18 : isolate_(isolate), |
(...skipping 741 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
759 // TODO(verwaest): Use AddDataProperty instead. | 760 // TODO(verwaest): Use AddDataProperty instead. |
760 JSObject::SetOwnPropertyIgnoreAttributes( | 761 JSObject::SetOwnPropertyIgnoreAttributes( |
761 scope_object, handle(String::cast(scope_info->get(i + start))), value, | 762 scope_object, handle(String::cast(scope_info->get(i + start))), value, |
762 ::NONE) | 763 ::NONE) |
763 .Check(); | 764 .Check(); |
764 } | 765 } |
765 } | 766 } |
766 | 767 |
767 } // namespace internal | 768 } // namespace internal |
768 } // namespace v8 | 769 } // namespace v8 |
OLD | NEW |