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

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

Issue 1285183010: Remove grab-bag includes of v8.h from everywhere. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Minor stylistic issue. Created 5 years, 4 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
« no previous file with comments | « src/objects-printer.cc ('k') | src/prettyprinter.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/optimizing-compile-dispatcher.h" 5 #include "src/optimizing-compile-dispatcher.h"
6 6
7 #include "src/v8.h"
8
9 #include "src/base/atomicops.h" 7 #include "src/base/atomicops.h"
10 #include "src/full-codegen/full-codegen.h" 8 #include "src/full-codegen/full-codegen.h"
11 #include "src/hydrogen.h" 9 #include "src/hydrogen.h"
12 #include "src/isolate.h" 10 #include "src/isolate.h"
11 #include "src/v8.h"
13 12
14 namespace v8 { 13 namespace v8 {
15 namespace internal { 14 namespace internal {
16 15
17 namespace { 16 namespace {
18 17
19 void DisposeOptimizedCompileJob(OptimizedCompileJob* job, 18 void DisposeOptimizedCompileJob(OptimizedCompileJob* job,
20 bool restore_function_code) { 19 bool restore_function_code) {
21 // The recompile job is allocated in the CompilationInfo's zone. 20 // The recompile job is allocated in the CompilationInfo's zone.
22 CompilationInfo* info = job->info(); 21 CompilationInfo* info = job->info();
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 info->closure()->PrintName(); 350 info->closure()->PrintName();
352 PrintF(", AST id %d]\n", info->osr_ast_id().ToInt()); 351 PrintF(", AST id %d]\n", info->osr_ast_id().ToInt());
353 } 352 }
354 DisposeOptimizedCompileJob(stale, false); 353 DisposeOptimizedCompileJob(stale, false);
355 } 354 }
356 osr_buffer_[osr_buffer_cursor_] = job; 355 osr_buffer_[osr_buffer_cursor_] = job;
357 osr_buffer_cursor_ = (osr_buffer_cursor_ + 1) % osr_buffer_capacity_; 356 osr_buffer_cursor_ = (osr_buffer_cursor_ + 1) % osr_buffer_capacity_;
358 } 357 }
359 } // namespace internal 358 } // namespace internal
360 } // namespace v8 359 } // namespace v8
OLDNEW
« no previous file with comments | « src/objects-printer.cc ('k') | src/prettyprinter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698