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 <stdlib.h> | 5 #include <stdlib.h> |
6 | 6 |
7 #include "src/v8.h" | 7 #include "src/v8.h" |
8 | 8 |
9 #include "src/ast.h" | 9 #include "src/ast.h" |
10 #include "src/base/platform/platform.h" | 10 #include "src/base/platform/platform.h" |
11 #include "src/base/utils/random-number-generator.h" | 11 #include "src/base/utils/random-number-generator.h" |
12 #include "src/bootstrapper.h" | 12 #include "src/bootstrapper.h" |
13 #include "src/codegen.h" | 13 #include "src/codegen.h" |
14 #include "src/compilation-cache.h" | 14 #include "src/compilation-cache.h" |
15 #include "src/cpu-profiler.h" | 15 #include "src/cpu-profiler.h" |
16 #include "src/debug.h" | 16 #include "src/debug.h" |
17 #include "src/deoptimizer.h" | 17 #include "src/deoptimizer.h" |
18 #include "src/heap/spaces.h" | 18 #include "src/heap/spaces.h" |
19 #include "src/heap/sweeper-thread.h" | 19 #include "src/heap/sweeper-thread.h" |
20 #include "src/heap-profiler.h" | 20 #include "src/heap-profiler.h" |
21 #include "src/hydrogen.h" | 21 #include "src/hydrogen.h" |
| 22 #include "src/ic/stub-cache.h" |
22 #include "src/isolate-inl.h" | 23 #include "src/isolate-inl.h" |
23 #include "src/lithium-allocator.h" | 24 #include "src/lithium-allocator.h" |
24 #include "src/log.h" | 25 #include "src/log.h" |
25 #include "src/messages.h" | 26 #include "src/messages.h" |
26 #include "src/prototype.h" | 27 #include "src/prototype.h" |
27 #include "src/regexp-stack.h" | 28 #include "src/regexp-stack.h" |
28 #include "src/runtime-profiler.h" | 29 #include "src/runtime-profiler.h" |
29 #include "src/sampler.h" | 30 #include "src/sampler.h" |
30 #include "src/scopeinfo.h" | 31 #include "src/scopeinfo.h" |
31 #include "src/serialize.h" | 32 #include "src/serialize.h" |
32 #include "src/simulator.h" | 33 #include "src/simulator.h" |
33 #include "src/stub-cache.h" | |
34 #include "src/version.h" | 34 #include "src/version.h" |
35 #include "src/vm-state-inl.h" | 35 #include "src/vm-state-inl.h" |
36 | 36 |
37 | 37 |
38 namespace v8 { | 38 namespace v8 { |
39 namespace internal { | 39 namespace internal { |
40 | 40 |
41 base::Atomic32 ThreadId::highest_thread_id_ = 0; | 41 base::Atomic32 ThreadId::highest_thread_id_ = 0; |
42 | 42 |
43 int ThreadId::AllocateThreadId() { | 43 int ThreadId::AllocateThreadId() { |
(...skipping 2371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2415 if (prev_ && prev_->Intercept(flag)) return true; | 2415 if (prev_ && prev_->Intercept(flag)) return true; |
2416 // Then check whether this scope intercepts. | 2416 // Then check whether this scope intercepts. |
2417 if ((flag & intercept_mask_)) { | 2417 if ((flag & intercept_mask_)) { |
2418 intercepted_flags_ |= flag; | 2418 intercepted_flags_ |= flag; |
2419 return true; | 2419 return true; |
2420 } | 2420 } |
2421 return false; | 2421 return false; |
2422 } | 2422 } |
2423 | 2423 |
2424 } } // namespace v8::internal | 2424 } } // namespace v8::internal |
OLD | NEW |