OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 | |
6 #include "src/v8.h" | |
7 | |
8 #include "src/debug/liveedit.h" | 5 #include "src/debug/liveedit.h" |
9 | 6 |
10 #include "src/code-stubs.h" | 7 #include "src/code-stubs.h" |
11 #include "src/compilation-cache.h" | 8 #include "src/compilation-cache.h" |
12 #include "src/compiler.h" | 9 #include "src/compiler.h" |
13 #include "src/debug/debug.h" | 10 #include "src/debug/debug.h" |
14 #include "src/deoptimizer.h" | 11 #include "src/deoptimizer.h" |
15 #include "src/frames-inl.h" | 12 #include "src/frames-inl.h" |
16 #include "src/global-handles.h" | 13 #include "src/global-handles.h" |
17 #include "src/messages.h" | 14 #include "src/messages.h" |
18 #include "src/parser.h" | 15 #include "src/parser.h" |
19 #include "src/scopeinfo.h" | 16 #include "src/scopeinfo.h" |
20 #include "src/scopes.h" | 17 #include "src/scopes.h" |
| 18 #include "src/v8.h" |
21 #include "src/v8memory.h" | 19 #include "src/v8memory.h" |
22 | 20 |
23 namespace v8 { | 21 namespace v8 { |
24 namespace internal { | 22 namespace internal { |
25 | 23 |
26 void SetElementSloppy(Handle<JSObject> object, | 24 void SetElementSloppy(Handle<JSObject> object, |
27 uint32_t index, | 25 uint32_t index, |
28 Handle<Object> value) { | 26 Handle<Object> value) { |
29 // Ignore return value from SetElement. It can only be a failure if there | 27 // Ignore return value from SetElement. It can only be a failure if there |
30 // are element setters causing exceptions and the debugger context has none | 28 // are element setters causing exceptions and the debugger context has none |
(...skipping 1990 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2021 isolate_->active_function_info_listener()->FunctionCode(code); | 2019 isolate_->active_function_info_listener()->FunctionCode(code); |
2022 } | 2020 } |
2023 | 2021 |
2024 | 2022 |
2025 bool LiveEditFunctionTracker::IsActive(Isolate* isolate) { | 2023 bool LiveEditFunctionTracker::IsActive(Isolate* isolate) { |
2026 return isolate->active_function_info_listener() != NULL; | 2024 return isolate->active_function_info_listener() != NULL; |
2027 } | 2025 } |
2028 | 2026 |
2029 } // namespace internal | 2027 } // namespace internal |
2030 } // namespace v8 | 2028 } // namespace v8 |
OLD | NEW |