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

Side by Side Diff: src/counters.cc

Issue 2784793002: [builtins] Extract builtin definitions (Closed)
Patch Set: Fixes Created 3 years, 8 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/counters.h ('k') | src/objects.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/counters.h" 5 #include "src/counters.h"
6 6
7 #include <iomanip> 7 #include <iomanip>
8 8
9 #include "src/base/platform/platform.h" 9 #include "src/base/platform/platform.h"
10 #include "src/builtins/builtins-definitions.h"
10 #include "src/isolate.h" 11 #include "src/isolate.h"
11 #include "src/log-inl.h" 12 #include "src/log-inl.h"
12 #include "src/log.h" 13 #include "src/log.h"
13 14
14 namespace v8 { 15 namespace v8 {
15 namespace internal { 16 namespace internal {
16 17
17 StatsTable::StatsTable() 18 StatsTable::StatsTable()
18 : lookup_function_(NULL), 19 : lookup_function_(NULL),
19 create_histogram_function_(NULL), 20 create_histogram_function_(NULL),
(...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 RuntimeCallStats::counters) { 489 RuntimeCallStats::counters) {
489 RuntimeCallCounter* counter = &(this->*counter_id); 490 RuntimeCallCounter* counter = &(this->*counter_id);
490 if (counter->count() > 0) counter->Dump(value); 491 if (counter->count() > 0) counter->Dump(value);
491 } 492 }
492 493
493 in_use_ = false; 494 in_use_ = false;
494 } 495 }
495 496
496 } // namespace internal 497 } // namespace internal
497 } // namespace v8 498 } // namespace v8
OLDNEW
« no previous file with comments | « src/counters.h ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698