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/isolate.h" |
| 6 |
5 #include <stdlib.h> | 7 #include <stdlib.h> |
6 | 8 |
7 #include <fstream> // NOLINT(readability/streams) | 9 #include <fstream> // NOLINT(readability/streams) |
8 #include <sstream> | 10 #include <sstream> |
9 | 11 |
10 #include "src/v8.h" | |
11 | |
12 #include "src/ast.h" | 12 #include "src/ast.h" |
13 #include "src/base/platform/platform.h" | 13 #include "src/base/platform/platform.h" |
14 #include "src/base/sys-info.h" | 14 #include "src/base/sys-info.h" |
15 #include "src/base/utils/random-number-generator.h" | 15 #include "src/base/utils/random-number-generator.h" |
16 #include "src/basic-block-profiler.h" | 16 #include "src/basic-block-profiler.h" |
17 #include "src/bootstrapper.h" | 17 #include "src/bootstrapper.h" |
18 #include "src/codegen.h" | 18 #include "src/codegen.h" |
19 #include "src/compilation-cache.h" | 19 #include "src/compilation-cache.h" |
20 #include "src/compilation-statistics.h" | 20 #include "src/compilation-statistics.h" |
21 #include "src/cpu-profiler.h" | 21 #include "src/cpu-profiler.h" |
22 #include "src/debug/debug.h" | 22 #include "src/debug/debug.h" |
23 #include "src/deoptimizer.h" | 23 #include "src/deoptimizer.h" |
24 #include "src/frames-inl.h" | 24 #include "src/frames-inl.h" |
25 #include "src/heap-profiler.h" | 25 #include "src/heap-profiler.h" |
26 #include "src/hydrogen.h" | 26 #include "src/hydrogen.h" |
27 #include "src/ic/stub-cache.h" | 27 #include "src/ic/stub-cache.h" |
28 #include "src/interpreter/interpreter.h" | 28 #include "src/interpreter/interpreter.h" |
29 #include "src/lithium-allocator.h" | 29 #include "src/lithium-allocator.h" |
30 #include "src/log.h" | 30 #include "src/log.h" |
31 #include "src/messages.h" | 31 #include "src/messages.h" |
32 #include "src/prototype.h" | 32 #include "src/prototype.h" |
33 #include "src/regexp/regexp-stack.h" | 33 #include "src/regexp/regexp-stack.h" |
34 #include "src/runtime-profiler.h" | 34 #include "src/runtime-profiler.h" |
35 #include "src/sampler.h" | 35 #include "src/sampler.h" |
36 #include "src/scopeinfo.h" | 36 #include "src/scopeinfo.h" |
37 #include "src/simulator.h" | 37 #include "src/simulator.h" |
38 #include "src/snapshot/serialize.h" | 38 #include "src/snapshot/serialize.h" |
| 39 #include "src/v8.h" |
39 #include "src/version.h" | 40 #include "src/version.h" |
40 #include "src/vm-state-inl.h" | 41 #include "src/vm-state-inl.h" |
41 | 42 |
42 | 43 |
43 namespace v8 { | 44 namespace v8 { |
44 namespace internal { | 45 namespace internal { |
45 | 46 |
46 base::Atomic32 ThreadId::highest_thread_id_ = 0; | 47 base::Atomic32 ThreadId::highest_thread_id_ = 0; |
47 | 48 |
48 int ThreadId::AllocateThreadId() { | 49 int ThreadId::AllocateThreadId() { |
(...skipping 2768 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2817 // Then check whether this scope intercepts. | 2818 // Then check whether this scope intercepts. |
2818 if ((flag & intercept_mask_)) { | 2819 if ((flag & intercept_mask_)) { |
2819 intercepted_flags_ |= flag; | 2820 intercepted_flags_ |= flag; |
2820 return true; | 2821 return true; |
2821 } | 2822 } |
2822 return false; | 2823 return false; |
2823 } | 2824 } |
2824 | 2825 |
2825 } // namespace internal | 2826 } // namespace internal |
2826 } // namespace v8 | 2827 } // namespace v8 |
OLD | NEW |