| 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 1148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1159 AccountingAllocator* allocator() { return allocator_; } | 1159 AccountingAllocator* allocator() { return allocator_; } |
| 1160 | 1160 |
| 1161 CompilerDispatcherTracer* compiler_dispatcher_tracer() const { | 1161 CompilerDispatcherTracer* compiler_dispatcher_tracer() const { |
| 1162 return compiler_dispatcher_tracer_; | 1162 return compiler_dispatcher_tracer_; |
| 1163 } | 1163 } |
| 1164 | 1164 |
| 1165 bool IsInAnyContext(Object* object, uint32_t index); | 1165 bool IsInAnyContext(Object* object, uint32_t index); |
| 1166 | 1166 |
| 1167 void SetRAILMode(RAILMode rail_mode); | 1167 void SetRAILMode(RAILMode rail_mode); |
| 1168 | 1168 |
| 1169 RAILMode rail_mode() { return rail_mode_.Value(); } |
| 1170 |
| 1171 double LoadStartTimeMs(); |
| 1172 |
| 1169 void IsolateInForegroundNotification(); | 1173 void IsolateInForegroundNotification(); |
| 1170 | 1174 |
| 1171 void IsolateInBackgroundNotification(); | 1175 void IsolateInBackgroundNotification(); |
| 1172 | 1176 |
| 1173 bool IsIsolateInBackground() { return is_isolate_in_background_; } | 1177 bool IsIsolateInBackground() { return is_isolate_in_background_; } |
| 1174 | 1178 |
| 1175 PRINTF_FORMAT(2, 3) void PrintWithTimestamp(const char* format, ...); | 1179 PRINTF_FORMAT(2, 3) void PrintWithTimestamp(const char* format, ...); |
| 1176 | 1180 |
| 1177 #ifdef USE_SIMULATOR | 1181 #ifdef USE_SIMULATOR |
| 1178 base::Mutex* simulator_i_cache_mutex() { return &simulator_i_cache_mutex_; } | 1182 base::Mutex* simulator_i_cache_mutex() { return &simulator_i_cache_mutex_; } |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1347 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_; | 1351 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_; |
| 1348 unibrow::Mapping<unibrow::Ecma262Canonicalize> | 1352 unibrow::Mapping<unibrow::Ecma262Canonicalize> |
| 1349 regexp_macro_assembler_canonicalize_; | 1353 regexp_macro_assembler_canonicalize_; |
| 1350 RegExpStack* regexp_stack_; | 1354 RegExpStack* regexp_stack_; |
| 1351 List<int> regexp_indices_; | 1355 List<int> regexp_indices_; |
| 1352 DateCache* date_cache_; | 1356 DateCache* date_cache_; |
| 1353 CallInterfaceDescriptorData* call_descriptor_data_; | 1357 CallInterfaceDescriptorData* call_descriptor_data_; |
| 1354 AccessCompilerData* access_compiler_data_; | 1358 AccessCompilerData* access_compiler_data_; |
| 1355 base::RandomNumberGenerator* random_number_generator_; | 1359 base::RandomNumberGenerator* random_number_generator_; |
| 1356 base::AtomicValue<RAILMode> rail_mode_; | 1360 base::AtomicValue<RAILMode> rail_mode_; |
| 1361 base::Mutex rail_mutex_; |
| 1362 double load_start_time_ms_; |
| 1357 | 1363 |
| 1358 // Whether the isolate has been created for snapshotting. | 1364 // Whether the isolate has been created for snapshotting. |
| 1359 bool serializer_enabled_; | 1365 bool serializer_enabled_; |
| 1360 | 1366 |
| 1361 // True if fatal error has been signaled for this isolate. | 1367 // True if fatal error has been signaled for this isolate. |
| 1362 bool has_fatal_error_; | 1368 bool has_fatal_error_; |
| 1363 | 1369 |
| 1364 // True if this isolate was initialized from a snapshot. | 1370 // True if this isolate was initialized from a snapshot. |
| 1365 bool initialized_from_snapshot_; | 1371 bool initialized_from_snapshot_; |
| 1366 | 1372 |
| (...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1682 | 1688 |
| 1683 EmbeddedVector<char, 128> filename_; | 1689 EmbeddedVector<char, 128> filename_; |
| 1684 FILE* file_; | 1690 FILE* file_; |
| 1685 int scope_depth_; | 1691 int scope_depth_; |
| 1686 }; | 1692 }; |
| 1687 | 1693 |
| 1688 } // namespace internal | 1694 } // namespace internal |
| 1689 } // namespace v8 | 1695 } // namespace v8 |
| 1690 | 1696 |
| 1691 #endif // V8_ISOLATE_H_ | 1697 #endif // V8_ISOLATE_H_ |
| OLD | NEW |