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

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

Issue 304153016: Use full include paths everywhere (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « src/runtime-profiler.h ('k') | src/safepoint-table.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 "v8.h" 5 #include "src/v8.h"
6 6
7 #include "runtime-profiler.h" 7 #include "src/runtime-profiler.h"
8 8
9 #include "assembler.h" 9 #include "src/assembler.h"
10 #include "bootstrapper.h" 10 #include "src/bootstrapper.h"
11 #include "code-stubs.h" 11 #include "src/code-stubs.h"
12 #include "compilation-cache.h" 12 #include "src/compilation-cache.h"
13 #include "execution.h" 13 #include "src/execution.h"
14 #include "full-codegen.h" 14 #include "src/full-codegen.h"
15 #include "global-handles.h" 15 #include "src/global-handles.h"
16 #include "isolate-inl.h" 16 #include "src/isolate-inl.h"
17 #include "mark-compact.h" 17 #include "src/mark-compact.h"
18 #include "platform.h" 18 #include "src/platform.h"
19 #include "scopeinfo.h" 19 #include "src/scopeinfo.h"
20 20
21 namespace v8 { 21 namespace v8 {
22 namespace internal { 22 namespace internal {
23 23
24 24
25 // Number of times a function has to be seen on the stack before it is 25 // Number of times a function has to be seen on the stack before it is
26 // optimized. 26 // optimized.
27 static const int kProfilerTicksBeforeOptimization = 2; 27 static const int kProfilerTicksBeforeOptimization = 2;
28 // If the function optimization was disabled due to high deoptimization count, 28 // If the function optimization was disabled due to high deoptimization count,
29 // but the function is hot and has been seen on the stack this number of times, 29 // but the function is hot and has been seen on the stack this number of times,
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 Optimize(function, "small function"); 259 Optimize(function, "small function");
260 } else { 260 } else {
261 shared_code->set_profiler_ticks(ticks + 1); 261 shared_code->set_profiler_ticks(ticks + 1);
262 } 262 }
263 } 263 }
264 any_ic_changed_ = false; 264 any_ic_changed_ = false;
265 } 265 }
266 266
267 267
268 } } // namespace v8::internal 268 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/runtime-profiler.h ('k') | src/safepoint-table.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698