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/frames-inl.h" |
9 #include "src/globals.h" | 9 #include "src/globals.h" |
| 10 #include "src/isolate-inl.h" |
10 #include "src/parser.h" | 11 #include "src/parser.h" |
11 #include "src/scopes.h" | 12 #include "src/scopes.h" |
12 | 13 |
13 namespace v8 { | 14 namespace v8 { |
14 namespace internal { | 15 namespace internal { |
15 | 16 |
16 ScopeIterator::ScopeIterator(Isolate* isolate, FrameInspector* frame_inspector, | 17 ScopeIterator::ScopeIterator(Isolate* isolate, FrameInspector* frame_inspector, |
17 bool ignore_nested_scopes) | 18 bool ignore_nested_scopes) |
18 : isolate_(isolate), | 19 : isolate_(isolate), |
19 frame_inspector_(frame_inspector), | 20 frame_inspector_(frame_inspector), |
(...skipping 760 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
780 isolate_, value, Object::GetPropertyOrElement(extension, key), false); | 781 isolate_, value, Object::GetPropertyOrElement(extension, key), false); |
781 RETURN_ON_EXCEPTION_VALUE( | 782 RETURN_ON_EXCEPTION_VALUE( |
782 isolate_, JSObject::SetOwnPropertyIgnoreAttributes( | 783 isolate_, JSObject::SetOwnPropertyIgnoreAttributes( |
783 scope_object, key, value, NONE), false); | 784 scope_object, key, value, NONE), false); |
784 } | 785 } |
785 return true; | 786 return true; |
786 } | 787 } |
787 | 788 |
788 } // namespace internal | 789 } // namespace internal |
789 } // namespace v8 | 790 } // namespace v8 |
OLD | NEW |