| 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" |
| 19 #include "src/heap/sweeper-thread.h" |
| 18 #include "src/heap-profiler.h" | 20 #include "src/heap-profiler.h" |
| 19 #include "src/hydrogen.h" | 21 #include "src/hydrogen.h" |
| 20 #include "src/isolate-inl.h" | 22 #include "src/isolate-inl.h" |
| 21 #include "src/lithium-allocator.h" | 23 #include "src/lithium-allocator.h" |
| 22 #include "src/log.h" | 24 #include "src/log.h" |
| 23 #include "src/messages.h" | 25 #include "src/messages.h" |
| 24 #include "src/prototype.h" | 26 #include "src/prototype.h" |
| 25 #include "src/regexp-stack.h" | 27 #include "src/regexp-stack.h" |
| 26 #include "src/runtime-profiler.h" | 28 #include "src/runtime-profiler.h" |
| 27 #include "src/sampler.h" | 29 #include "src/sampler.h" |
| 28 #include "src/scopeinfo.h" | 30 #include "src/scopeinfo.h" |
| 29 #include "src/serialize.h" | 31 #include "src/serialize.h" |
| 30 #include "src/simulator.h" | 32 #include "src/simulator.h" |
| 31 #include "src/spaces.h" | |
| 32 #include "src/stub-cache.h" | 33 #include "src/stub-cache.h" |
| 33 #include "src/sweeper-thread.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 2325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2369 if (prev_ && prev_->Intercept(flag)) return true; | 2369 if (prev_ && prev_->Intercept(flag)) return true; |
| 2370 // Then check whether this scope intercepts. | 2370 // Then check whether this scope intercepts. |
| 2371 if ((flag & intercept_mask_)) { | 2371 if ((flag & intercept_mask_)) { |
| 2372 intercepted_flags_ |= flag; | 2372 intercepted_flags_ |= flag; |
| 2373 return true; | 2373 return true; |
| 2374 } | 2374 } |
| 2375 return false; | 2375 return false; |
| 2376 } | 2376 } |
| 2377 | 2377 |
| 2378 } } // namespace v8::internal | 2378 } } // namespace v8::internal |
| OLD | NEW |