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

Side by Side Diff: src/isolate.h

Issue 2686063002: [debugger] add precise mode for code coverage. (Closed)
Patch Set: fix flag Created 3 years, 10 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/heap/heap.cc ('k') | src/isolate.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 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 942 matching lines...) Expand 10 before | Expand all | Expand 10 after
953 } 953 }
954 954
955 bool serializer_enabled() const { return serializer_enabled_; } 955 bool serializer_enabled() const { return serializer_enabled_; }
956 bool snapshot_available() const { 956 bool snapshot_available() const {
957 return snapshot_blob_ != NULL && snapshot_blob_->raw_size != 0; 957 return snapshot_blob_ != NULL && snapshot_blob_->raw_size != 0;
958 } 958 }
959 959
960 bool IsDead() { return has_fatal_error_; } 960 bool IsDead() { return has_fatal_error_; }
961 void SignalFatalError() { has_fatal_error_ = true; } 961 void SignalFatalError() { has_fatal_error_ = true; }
962 962
963 bool use_crankshaft() const; 963 bool use_crankshaft();
964 964
965 bool initialized_from_snapshot() { return initialized_from_snapshot_; } 965 bool initialized_from_snapshot() { return initialized_from_snapshot_; }
966 966
967 bool NeedsSourcePositionsForProfiling() const; 967 bool NeedsSourcePositionsForProfiling() const;
968 968
969 bool IsCodeCoverageEnabled();
970 void SetCodeCoverageList(Object* value);
971
969 double time_millis_since_init() { 972 double time_millis_since_init() {
970 return heap_.MonotonicallyIncreasingTimeInMs() - time_millis_at_init_; 973 return heap_.MonotonicallyIncreasingTimeInMs() - time_millis_at_init_;
971 } 974 }
972 975
973 DateCache* date_cache() { 976 DateCache* date_cache() {
974 return date_cache_; 977 return date_cache_;
975 } 978 }
976 979
977 void set_date_cache(DateCache* date_cache) { 980 void set_date_cache(DateCache* date_cache) {
978 if (date_cache != date_cache_) { 981 if (date_cache != date_cache_) {
(...skipping 731 matching lines...) Expand 10 before | Expand all | Expand 10 after
1710 1713
1711 EmbeddedVector<char, 128> filename_; 1714 EmbeddedVector<char, 128> filename_;
1712 FILE* file_; 1715 FILE* file_;
1713 int scope_depth_; 1716 int scope_depth_;
1714 }; 1717 };
1715 1718
1716 } // namespace internal 1719 } // namespace internal
1717 } // namespace v8 1720 } // namespace v8
1718 1721
1719 #endif // V8_ISOLATE_H_ 1722 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/heap/heap.cc ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698