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

Side by Side Diff: src/isolate.h

Issue 2882973002: [coverage] Block coverage with support for IfStatements (Closed)
Patch Set: Address comments Created 3 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
« no previous file with comments | « src/interpreter/interpreter-generator.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 999 matching lines...) Expand 10 before | Expand all | Expand 10 after
1010 } 1010 }
1011 1011
1012 bool is_precise_count_code_coverage() const { 1012 bool is_precise_count_code_coverage() const {
1013 return code_coverage_mode() == debug::Coverage::kPreciseCount; 1013 return code_coverage_mode() == debug::Coverage::kPreciseCount;
1014 } 1014 }
1015 1015
1016 bool is_precise_binary_code_coverage() const { 1016 bool is_precise_binary_code_coverage() const {
1017 return code_coverage_mode() == debug::Coverage::kPreciseBinary; 1017 return code_coverage_mode() == debug::Coverage::kPreciseBinary;
1018 } 1018 }
1019 1019
1020 bool is_block_count_code_coverage() const {
1021 return code_coverage_mode() == debug::Coverage::kBlockCount;
1022 }
1023
1020 void SetCodeCoverageList(Object* value); 1024 void SetCodeCoverageList(Object* value);
1021 1025
1022 double time_millis_since_init() { 1026 double time_millis_since_init() {
1023 return heap_.MonotonicallyIncreasingTimeInMs() - time_millis_at_init_; 1027 return heap_.MonotonicallyIncreasingTimeInMs() - time_millis_at_init_;
1024 } 1028 }
1025 1029
1026 DateCache* date_cache() { 1030 DateCache* date_cache() {
1027 return date_cache_; 1031 return date_cache_;
1028 } 1032 }
1029 1033
(...skipping 787 matching lines...) Expand 10 before | Expand all | Expand 10 after
1817 1821
1818 EmbeddedVector<char, 128> filename_; 1822 EmbeddedVector<char, 128> filename_;
1819 FILE* file_; 1823 FILE* file_;
1820 int scope_depth_; 1824 int scope_depth_;
1821 }; 1825 };
1822 1826
1823 } // namespace internal 1827 } // namespace internal
1824 } // namespace v8 1828 } // namespace v8
1825 1829
1826 #endif // V8_ISOLATE_H_ 1830 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/interpreter/interpreter-generator.cc ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698