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

Side by Side Diff: src/isolate.h

Issue 1415383004: Fixing --verify-predictable mode. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: d8 now uses its own PredictablePlatform implementation Created 5 years, 1 month 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
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 <queue> 8 #include <queue>
9 #include <set> 9 #include <set>
10 10
(...skipping 921 matching lines...) Expand 10 before | Expand all | Expand 10 after
932 } 932 }
933 933
934 bool IsDead() { return has_fatal_error_; } 934 bool IsDead() { return has_fatal_error_; }
935 void SignalFatalError() { has_fatal_error_ = true; } 935 void SignalFatalError() { has_fatal_error_ = true; }
936 936
937 bool use_crankshaft() const; 937 bool use_crankshaft() const;
938 938
939 bool initialized_from_snapshot() { return initialized_from_snapshot_; } 939 bool initialized_from_snapshot() { return initialized_from_snapshot_; }
940 940
941 double time_millis_since_init() { 941 double time_millis_since_init() {
942 return base::OS::TimeCurrentMillis() - time_millis_at_init_; 942 return heap_.MonotonicallyIncreasingTimeInMs() - time_millis_at_init_;
943 } 943 }
944 944
945 DateCache* date_cache() { 945 DateCache* date_cache() {
946 return date_cache_; 946 return date_cache_;
947 } 947 }
948 948
949 void set_date_cache(DateCache* date_cache) { 949 void set_date_cache(DateCache* date_cache) {
950 if (date_cache != date_cache_) { 950 if (date_cache != date_cache_) {
951 delete date_cache_; 951 delete date_cache_;
952 } 952 }
(...skipping 612 matching lines...) Expand 10 before | Expand all | Expand 10 after
1565 1565
1566 EmbeddedVector<char, 128> filename_; 1566 EmbeddedVector<char, 128> filename_;
1567 FILE* file_; 1567 FILE* file_;
1568 int scope_depth_; 1568 int scope_depth_;
1569 }; 1569 };
1570 1570
1571 } // namespace internal 1571 } // namespace internal
1572 } // namespace v8 1572 } // namespace v8
1573 1573
1574 #endif // V8_ISOLATE_H_ 1574 #endif // V8_ISOLATE_H_
OLDNEW
« src/heap/heap-inl.h ('K') | « src/heap/spaces.cc ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698