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 #ifndef V8_OPTIMIZING_COMPILER_THREAD_H_ | 5 #ifndef V8_OPTIMIZING_COMPILER_THREAD_H_ |
6 #define V8_OPTIMIZING_COMPILER_THREAD_H_ | 6 #define V8_OPTIMIZING_COMPILER_THREAD_H_ |
7 | 7 |
8 #include "atomicops.h" | 8 #include "src/atomicops.h" |
9 #include "flags.h" | 9 #include "src/flags.h" |
10 #include "list.h" | 10 #include "src/list.h" |
11 #include "platform.h" | 11 #include "src/platform.h" |
12 #include "platform/mutex.h" | 12 #include "src/platform/mutex.h" |
13 #include "platform/time.h" | 13 #include "src/platform/time.h" |
14 #include "unbound-queue-inl.h" | 14 #include "src/unbound-queue-inl.h" |
15 | 15 |
16 namespace v8 { | 16 namespace v8 { |
17 namespace internal { | 17 namespace internal { |
18 | 18 |
19 class HOptimizedGraphBuilder; | 19 class HOptimizedGraphBuilder; |
20 class OptimizedCompileJob; | 20 class OptimizedCompileJob; |
21 class SharedFunctionInfo; | 21 class SharedFunctionInfo; |
22 | 22 |
23 class OptimizingCompilerThread : public Thread { | 23 class OptimizingCompilerThread : public Thread { |
24 public: | 24 public: |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 | 132 |
133 int osr_hits_; | 133 int osr_hits_; |
134 int osr_attempts_; | 134 int osr_attempts_; |
135 | 135 |
136 int blocked_jobs_; | 136 int blocked_jobs_; |
137 }; | 137 }; |
138 | 138 |
139 } } // namespace v8::internal | 139 } } // namespace v8::internal |
140 | 140 |
141 #endif // V8_OPTIMIZING_COMPILER_THREAD_H_ | 141 #endif // V8_OPTIMIZING_COMPILER_THREAD_H_ |
OLD | NEW |