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

Side by Side Diff: src/compilation-statistics.h

Issue 1088993003: Replace OVERRIDE->override and FINAL->final since we now require C++11. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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/code-stubs.h ('k') | src/compiler.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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 #ifndef V8_COMPILATION_STATISTICS_H_ 5 #ifndef V8_COMPILATION_STATISTICS_H_
6 #define V8_COMPILATION_STATISTICS_H_ 6 #define V8_COMPILATION_STATISTICS_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
11 #include "src/allocation.h" 11 #include "src/allocation.h"
12 #include "src/base/platform/time.h" 12 #include "src/base/platform/time.h"
13 13
14 namespace v8 { 14 namespace v8 {
15 namespace internal { 15 namespace internal {
16 16
17 class CompilationInfo; 17 class CompilationInfo;
18 18
19 class CompilationStatistics FINAL : public Malloced { 19 class CompilationStatistics final : public Malloced {
20 public: 20 public:
21 CompilationStatistics() {} 21 CompilationStatistics() {}
22 22
23 class BasicStats { 23 class BasicStats {
24 public: 24 public:
25 BasicStats() 25 BasicStats()
26 : total_allocated_bytes_(0), 26 : total_allocated_bytes_(0),
27 max_allocated_bytes_(0), 27 max_allocated_bytes_(0),
28 absolute_max_allocated_bytes_(0) {} 28 absolute_max_allocated_bytes_(0) {}
29 29
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 77
78 DISALLOW_COPY_AND_ASSIGN(CompilationStatistics); 78 DISALLOW_COPY_AND_ASSIGN(CompilationStatistics);
79 }; 79 };
80 80
81 std::ostream& operator<<(std::ostream& os, const CompilationStatistics& s); 81 std::ostream& operator<<(std::ostream& os, const CompilationStatistics& s);
82 82
83 } // namespace internal 83 } // namespace internal
84 } // namespace v8 84 } // namespace v8
85 85
86 #endif 86 #endif
OLDNEW
« no previous file with comments | « src/code-stubs.h ('k') | src/compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698