Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: src/compiler-dispatcher/optimizing-compile-dispatcher.cc

Issue 2284313003: Separate CompilationInfo into its own file. (Closed)
Patch Set: fix Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/compiler-dispatcher/optimizing-compile-dispatcher.h" 5 #include "src/compiler-dispatcher/optimizing-compile-dispatcher.h"
6 6
7 #include "src/base/atomicops.h" 7 #include "src/base/atomicops.h"
8 #include "src/compilation-info.h"
9 #include "src/compiler.h"
8 #include "src/full-codegen/full-codegen.h" 10 #include "src/full-codegen/full-codegen.h"
9 #include "src/isolate.h" 11 #include "src/isolate.h"
10 #include "src/tracing/trace-event.h" 12 #include "src/tracing/trace-event.h"
11 #include "src/v8.h" 13 #include "src/v8.h"
12 14
13 namespace v8 { 15 namespace v8 {
14 namespace internal { 16 namespace internal {
15 17
16 namespace { 18 namespace {
17 19
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 void OptimizingCompileDispatcher::Unblock() { 213 void OptimizingCompileDispatcher::Unblock() {
212 while (blocked_jobs_ > 0) { 214 while (blocked_jobs_ > 0) {
213 V8::GetCurrentPlatform()->CallOnBackgroundThread( 215 V8::GetCurrentPlatform()->CallOnBackgroundThread(
214 new CompileTask(isolate_), v8::Platform::kShortRunningTask); 216 new CompileTask(isolate_), v8::Platform::kShortRunningTask);
215 blocked_jobs_--; 217 blocked_jobs_--;
216 } 218 }
217 } 219 }
218 220
219 } // namespace internal 221 } // namespace internal
220 } // namespace v8 222 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler-dispatcher/compiler-dispatcher-job.cc ('k') | src/compiler/arm/code-generator-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698