OLD | NEW |
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 997 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1008 } | 1008 } |
1009 | 1009 |
1010 bool is_precise_count_code_coverage() const { | 1010 bool is_precise_count_code_coverage() const { |
1011 return code_coverage_mode() == debug::Coverage::kPreciseCount; | 1011 return code_coverage_mode() == debug::Coverage::kPreciseCount; |
1012 } | 1012 } |
1013 | 1013 |
1014 bool is_precise_binary_code_coverage() const { | 1014 bool is_precise_binary_code_coverage() const { |
1015 return code_coverage_mode() == debug::Coverage::kPreciseBinary; | 1015 return code_coverage_mode() == debug::Coverage::kPreciseBinary; |
1016 } | 1016 } |
1017 | 1017 |
| 1018 bool is_block_binary_code_coverage() const { |
| 1019 return code_coverage_mode() == debug::Coverage::kBlockBinary; |
| 1020 } |
| 1021 |
1018 void SetCodeCoverageList(Object* value); | 1022 void SetCodeCoverageList(Object* value); |
1019 | 1023 |
1020 double time_millis_since_init() { | 1024 double time_millis_since_init() { |
1021 return heap_.MonotonicallyIncreasingTimeInMs() - time_millis_at_init_; | 1025 return heap_.MonotonicallyIncreasingTimeInMs() - time_millis_at_init_; |
1022 } | 1026 } |
1023 | 1027 |
1024 DateCache* date_cache() { | 1028 DateCache* date_cache() { |
1025 return date_cache_; | 1029 return date_cache_; |
1026 } | 1030 } |
1027 | 1031 |
(...skipping 779 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1807 | 1811 |
1808 EmbeddedVector<char, 128> filename_; | 1812 EmbeddedVector<char, 128> filename_; |
1809 FILE* file_; | 1813 FILE* file_; |
1810 int scope_depth_; | 1814 int scope_depth_; |
1811 }; | 1815 }; |
1812 | 1816 |
1813 } // namespace internal | 1817 } // namespace internal |
1814 } // namespace v8 | 1818 } // namespace v8 |
1815 | 1819 |
1816 #endif // V8_ISOLATE_H_ | 1820 #endif // V8_ISOLATE_H_ |
OLD | NEW |