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

Side by Side Diff: src/isolate.h

Issue 2562973002: [perf-prof] fix crash when logging. (Closed)
Patch Set: remove stray edit Created 4 years 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/compiler.cc ('k') | src/isolate.cc » ('j') | src/perf-jit.cc » ('J')
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 948 matching lines...) Expand 10 before | Expand all | Expand 10 after
959 return snapshot_blob_ != NULL && snapshot_blob_->raw_size != 0; 959 return snapshot_blob_ != NULL && snapshot_blob_->raw_size != 0;
960 } 960 }
961 961
962 bool IsDead() { return has_fatal_error_; } 962 bool IsDead() { return has_fatal_error_; }
963 void SignalFatalError() { has_fatal_error_ = true; } 963 void SignalFatalError() { has_fatal_error_ = true; }
964 964
965 bool use_crankshaft() const; 965 bool use_crankshaft() const;
966 966
967 bool initialized_from_snapshot() { return initialized_from_snapshot_; } 967 bool initialized_from_snapshot() { return initialized_from_snapshot_; }
968 968
969 bool NeedsSourcePositionsForProfiling() const;
970
969 double time_millis_since_init() { 971 double time_millis_since_init() {
970 return heap_.MonotonicallyIncreasingTimeInMs() - time_millis_at_init_; 972 return heap_.MonotonicallyIncreasingTimeInMs() - time_millis_at_init_;
971 } 973 }
972 974
973 DateCache* date_cache() { 975 DateCache* date_cache() {
974 return date_cache_; 976 return date_cache_;
975 } 977 }
976 978
977 void set_date_cache(DateCache* date_cache) { 979 void set_date_cache(DateCache* date_cache) {
978 if (date_cache != date_cache_) { 980 if (date_cache != date_cache_) {
(...skipping 712 matching lines...) Expand 10 before | Expand all | Expand 10 after
1691 1693
1692 EmbeddedVector<char, 128> filename_; 1694 EmbeddedVector<char, 128> filename_;
1693 FILE* file_; 1695 FILE* file_;
1694 int scope_depth_; 1696 int scope_depth_;
1695 }; 1697 };
1696 1698
1697 } // namespace internal 1699 } // namespace internal
1698 } // namespace v8 1700 } // namespace v8
1699 1701
1700 #endif // V8_ISOLATE_H_ 1702 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/compiler.cc ('k') | src/isolate.cc » ('j') | src/perf-jit.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698