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 | 5 |
6 #include "v8.h" | 6 #include "src/v8.h" |
7 | 7 |
8 #include "liveedit.h" | 8 #include "src/liveedit.h" |
9 | 9 |
10 #include "code-stubs.h" | 10 #include "src/code-stubs.h" |
11 #include "compilation-cache.h" | 11 #include "src/compilation-cache.h" |
12 #include "compiler.h" | 12 #include "src/compiler.h" |
13 #include "debug.h" | 13 #include "src/debug.h" |
14 #include "deoptimizer.h" | 14 #include "src/deoptimizer.h" |
15 #include "global-handles.h" | 15 #include "src/global-handles.h" |
16 #include "messages.h" | 16 #include "src/messages.h" |
17 #include "parser.h" | 17 #include "src/parser.h" |
18 #include "scopeinfo.h" | 18 #include "src/scopeinfo.h" |
19 #include "scopes.h" | 19 #include "src/scopes.h" |
20 #include "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 |
29 // are element setters causing exceptions and the debugger context has none | 29 // are element setters causing exceptions and the debugger context has none |
30 // of these. | 30 // of these. |
(...skipping 2043 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2074 void LiveEditFunctionTracker::RecordRootFunctionInfo(Handle<Code> code) { | 2074 void LiveEditFunctionTracker::RecordRootFunctionInfo(Handle<Code> code) { |
2075 isolate_->active_function_info_listener()->FunctionCode(code); | 2075 isolate_->active_function_info_listener()->FunctionCode(code); |
2076 } | 2076 } |
2077 | 2077 |
2078 | 2078 |
2079 bool LiveEditFunctionTracker::IsActive(Isolate* isolate) { | 2079 bool LiveEditFunctionTracker::IsActive(Isolate* isolate) { |
2080 return isolate->active_function_info_listener() != NULL; | 2080 return isolate->active_function_info_listener() != NULL; |
2081 } | 2081 } |
2082 | 2082 |
2083 } } // namespace v8::internal | 2083 } } // namespace v8::internal |
OLD | NEW |