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/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #include "src/api.h" | 7 #include "src/api.h" |
8 #include "src/arguments.h" | 8 #include "src/arguments.h" |
9 #include "src/bootstrapper.h" | 9 #include "src/bootstrapper.h" |
10 #include "src/code-stubs.h" | 10 #include "src/code-stubs.h" |
11 #include "src/codegen.h" | 11 #include "src/codegen.h" |
12 #include "src/compilation-cache.h" | 12 #include "src/compilation-cache.h" |
13 #include "src/compiler.h" | 13 #include "src/compiler.h" |
14 #include "src/debug.h" | 14 #include "src/debug.h" |
15 #include "src/deoptimizer.h" | 15 #include "src/deoptimizer.h" |
16 #include "src/execution.h" | 16 #include "src/execution.h" |
17 #include "src/full-codegen.h" | 17 #include "src/full-codegen.h" |
18 #include "src/global-handles.h" | 18 #include "src/global-handles.h" |
19 #include "src/isolate-inl.h" | 19 #include "src/isolate-inl.h" |
20 #include "src/list.h" | 20 #include "src/list.h" |
21 #include "src/log.h" | 21 #include "src/log.h" |
22 #include "src/messages.h" | 22 #include "src/messages.h" |
23 #include "src/natives.h" | 23 #include "src/snapshot/natives.h" |
24 | 24 |
25 #include "include/v8-debug.h" | 25 #include "include/v8-debug.h" |
26 | 26 |
27 namespace v8 { | 27 namespace v8 { |
28 namespace internal { | 28 namespace internal { |
29 | 29 |
30 Debug::Debug(Isolate* isolate) | 30 Debug::Debug(Isolate* isolate) |
31 : debug_context_(Handle<Context>()), | 31 : debug_context_(Handle<Context>()), |
32 event_listener_(Handle<Object>()), | 32 event_listener_(Handle<Object>()), |
33 event_listener_data_(Handle<Object>()), | 33 event_listener_data_(Handle<Object>()), |
(...skipping 3379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3413 logger_->DebugEvent("Put", message.text()); | 3413 logger_->DebugEvent("Put", message.text()); |
3414 } | 3414 } |
3415 | 3415 |
3416 | 3416 |
3417 void LockingCommandMessageQueue::Clear() { | 3417 void LockingCommandMessageQueue::Clear() { |
3418 base::LockGuard<base::Mutex> lock_guard(&mutex_); | 3418 base::LockGuard<base::Mutex> lock_guard(&mutex_); |
3419 queue_.Clear(); | 3419 queue_.Clear(); |
3420 } | 3420 } |
3421 | 3421 |
3422 } } // namespace v8::internal | 3422 } } // namespace v8::internal |
OLD | NEW |