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

Side by Side Diff: src/isolate.h

Issue 2766573003: [debug] introduce precise binary code coverage. (Closed)
Patch Set: fix test Created 3 years, 9 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/inspector/v8-profiler-agent-impl.cc ('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 #ifndef V8_ISOLATE_H_ 5 #ifndef V8_ISOLATE_H_
6 #define V8_ISOLATE_H_ 6 #define V8_ISOLATE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <queue> 9 #include <queue>
10 10
(...skipping 968 matching lines...) Expand 10 before | Expand all | Expand 10 after
979 bool NeedsSourcePositionsForProfiling() const; 979 bool NeedsSourcePositionsForProfiling() const;
980 980
981 bool is_best_effort_code_coverage() const { 981 bool is_best_effort_code_coverage() const {
982 return code_coverage_mode() == debug::Coverage::kBestEffort; 982 return code_coverage_mode() == debug::Coverage::kBestEffort;
983 } 983 }
984 984
985 bool is_precise_count_code_coverage() const { 985 bool is_precise_count_code_coverage() const {
986 return code_coverage_mode() == debug::Coverage::kPreciseCount; 986 return code_coverage_mode() == debug::Coverage::kPreciseCount;
987 } 987 }
988 988
989 bool is_precise_binary_code_coverage() const {
990 return code_coverage_mode() == debug::Coverage::kPreciseBinary;
991 }
992
989 void SetCodeCoverageList(Object* value); 993 void SetCodeCoverageList(Object* value);
990 994
991 double time_millis_since_init() { 995 double time_millis_since_init() {
992 return heap_.MonotonicallyIncreasingTimeInMs() - time_millis_at_init_; 996 return heap_.MonotonicallyIncreasingTimeInMs() - time_millis_at_init_;
993 } 997 }
994 998
995 DateCache* date_cache() { 999 DateCache* date_cache() {
996 return date_cache_; 1000 return date_cache_;
997 } 1001 }
998 1002
(...skipping 771 matching lines...) Expand 10 before | Expand all | Expand 10 after
1770 1774
1771 EmbeddedVector<char, 128> filename_; 1775 EmbeddedVector<char, 128> filename_;
1772 FILE* file_; 1776 FILE* file_;
1773 int scope_depth_; 1777 int scope_depth_;
1774 }; 1778 };
1775 1779
1776 } // namespace internal 1780 } // namespace internal
1777 } // namespace v8 1781 } // namespace v8
1778 1782
1779 #endif // V8_ISOLATE_H_ 1783 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/inspector/v8-profiler-agent-impl.cc ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698