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 #include "src/debug/liveedit.h" | 5 #include "src/debug/liveedit.h" |
6 | 6 |
| 7 #include "src/ast/scopeinfo.h" |
| 8 #include "src/ast/scopes.h" |
7 #include "src/code-stubs.h" | 9 #include "src/code-stubs.h" |
8 #include "src/compilation-cache.h" | 10 #include "src/compilation-cache.h" |
9 #include "src/compiler.h" | 11 #include "src/compiler.h" |
10 #include "src/debug/debug.h" | 12 #include "src/debug/debug.h" |
11 #include "src/deoptimizer.h" | 13 #include "src/deoptimizer.h" |
12 #include "src/frames-inl.h" | 14 #include "src/frames-inl.h" |
13 #include "src/global-handles.h" | 15 #include "src/global-handles.h" |
14 #include "src/isolate-inl.h" | 16 #include "src/isolate-inl.h" |
15 #include "src/messages.h" | 17 #include "src/messages.h" |
16 #include "src/parser.h" | 18 #include "src/parsing/parser.h" |
17 #include "src/scopeinfo.h" | |
18 #include "src/scopes.h" | |
19 #include "src/v8.h" | 19 #include "src/v8.h" |
20 #include "src/v8memory.h" | 20 #include "src/v8memory.h" |
21 | 21 |
22 namespace v8 { | 22 namespace v8 { |
23 namespace internal { | 23 namespace internal { |
24 | 24 |
25 void SetElementSloppy(Handle<JSObject> object, | 25 void SetElementSloppy(Handle<JSObject> object, |
26 uint32_t index, | 26 uint32_t index, |
27 Handle<Object> value) { | 27 Handle<Object> value) { |
28 // Ignore return value from SetElement. It can only be a failure if there | 28 // Ignore return value from SetElement. It can only be a failure if there |
(...skipping 1971 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2000 isolate_->active_function_info_listener()->FunctionCode(code); | 2000 isolate_->active_function_info_listener()->FunctionCode(code); |
2001 } | 2001 } |
2002 | 2002 |
2003 | 2003 |
2004 bool LiveEditFunctionTracker::IsActive(Isolate* isolate) { | 2004 bool LiveEditFunctionTracker::IsActive(Isolate* isolate) { |
2005 return isolate->active_function_info_listener() != NULL; | 2005 return isolate->active_function_info_listener() != NULL; |
2006 } | 2006 } |
2007 | 2007 |
2008 } // namespace internal | 2008 } // namespace internal |
2009 } // namespace v8 | 2009 } // namespace v8 |
OLD | NEW |