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 968 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 Loading... |
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_ |
OLD | NEW |