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

Side by Side Diff: src/runtime-profiler.cc

Issue 1281233003: [heap] Avoid overzealous inclusion of heap internal headers. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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/v8.h » ('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/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/runtime-profiler.h" 7 #include "src/runtime-profiler.h"
8 8
9 #include "src/assembler.h" 9 #include "src/assembler.h"
10 #include "src/base/platform/platform.h" 10 #include "src/base/platform/platform.h"
11 #include "src/bootstrapper.h" 11 #include "src/bootstrapper.h"
12 #include "src/code-stubs.h" 12 #include "src/code-stubs.h"
13 #include "src/compilation-cache.h" 13 #include "src/compilation-cache.h"
14 #include "src/execution.h" 14 #include "src/execution.h"
15 #include "src/full-codegen/full-codegen.h" 15 #include "src/full-codegen/full-codegen.h"
16 #include "src/global-handles.h" 16 #include "src/global-handles.h"
17 #include "src/heap/mark-compact.h"
18 #include "src/scopeinfo.h" 17 #include "src/scopeinfo.h"
19 18
20 namespace v8 { 19 namespace v8 {
21 namespace internal { 20 namespace internal {
22 21
23 22
24 // Number of times a function has to be seen on the stack before it is 23 // Number of times a function has to be seen on the stack before it is
25 // optimized. 24 // optimized.
26 static const int kProfilerTicksBeforeOptimization = 2; 25 static const int kProfilerTicksBeforeOptimization = 2;
27 // If the function optimization was disabled due to high deoptimization count, 26 // If the function optimization was disabled due to high deoptimization count,
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 } else { 256 } else {
258 shared_code->set_profiler_ticks(ticks + 1); 257 shared_code->set_profiler_ticks(ticks + 1);
259 } 258 }
260 } 259 }
261 any_ic_changed_ = false; 260 any_ic_changed_ = false;
262 } 261 }
263 262
264 263
265 } // namespace internal 264 } // namespace internal
266 } // namespace v8 265 } // namespace v8
OLDNEW
« no previous file with comments | « src/objects-printer.cc ('k') | src/v8.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698