| 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 "include/v8-debug.h" | 8 #include "include/v8-debug.h" |
| 9 #include "src/allocation.h" | 9 #include "src/allocation.h" |
| 10 #include "src/assert-scope.h" | 10 #include "src/assert-scope.h" |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 | 26 |
| 27 namespace v8 { | 27 namespace v8 { |
| 28 | 28 |
| 29 namespace base { | 29 namespace base { |
| 30 class RandomNumberGenerator; | 30 class RandomNumberGenerator; |
| 31 } | 31 } |
| 32 | 32 |
| 33 namespace internal { | 33 namespace internal { |
| 34 | 34 |
| 35 class Bootstrapper; | 35 class Bootstrapper; |
| 36 class CallInterfaceDescriptor; | 36 class CallInterfaceDescriptorData; |
| 37 class CodeGenerator; | 37 class CodeGenerator; |
| 38 class CodeRange; | 38 class CodeRange; |
| 39 class CodeStubInterfaceDescriptor; | 39 class CodeStubInterfaceDescriptor; |
| 40 class CodeTracer; | 40 class CodeTracer; |
| 41 class CompilationCache; | 41 class CompilationCache; |
| 42 class ConsStringIteratorOp; | 42 class ConsStringIteratorOp; |
| 43 class ContextSlotCache; | 43 class ContextSlotCache; |
| 44 class Counters; | 44 class Counters; |
| 45 class CpuFeatures; | 45 class CpuFeatures; |
| 46 class CpuProfiler; | 46 class CpuProfiler; |
| (...skipping 983 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1030 date_cache_ = date_cache; | 1030 date_cache_ = date_cache; |
| 1031 } | 1031 } |
| 1032 | 1032 |
| 1033 Map* get_initial_js_array_map(ElementsKind kind); | 1033 Map* get_initial_js_array_map(ElementsKind kind); |
| 1034 | 1034 |
| 1035 bool IsFastArrayConstructorPrototypeChainIntact(); | 1035 bool IsFastArrayConstructorPrototypeChainIntact(); |
| 1036 | 1036 |
| 1037 CodeStubInterfaceDescriptor* | 1037 CodeStubInterfaceDescriptor* |
| 1038 code_stub_interface_descriptor(int index); | 1038 code_stub_interface_descriptor(int index); |
| 1039 | 1039 |
| 1040 CallInterfaceDescriptor* call_descriptor(int index); | 1040 CallInterfaceDescriptorData* call_descriptor_data(int index); |
| 1041 | 1041 |
| 1042 void IterateDeferredHandles(ObjectVisitor* visitor); | 1042 void IterateDeferredHandles(ObjectVisitor* visitor); |
| 1043 void LinkDeferredHandles(DeferredHandles* deferred_handles); | 1043 void LinkDeferredHandles(DeferredHandles* deferred_handles); |
| 1044 void UnlinkDeferredHandles(DeferredHandles* deferred_handles); | 1044 void UnlinkDeferredHandles(DeferredHandles* deferred_handles); |
| 1045 | 1045 |
| 1046 #ifdef DEBUG | 1046 #ifdef DEBUG |
| 1047 bool IsDeferredHandle(Object** location); | 1047 bool IsDeferredHandle(Object** location); |
| 1048 #endif // DEBUG | 1048 #endif // DEBUG |
| 1049 | 1049 |
| 1050 bool concurrent_recompilation_enabled() { | 1050 bool concurrent_recompilation_enabled() { |
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1267 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_; | 1267 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_; |
| 1268 ConsStringIteratorOp objects_string_compare_iterator_a_; | 1268 ConsStringIteratorOp objects_string_compare_iterator_a_; |
| 1269 ConsStringIteratorOp objects_string_compare_iterator_b_; | 1269 ConsStringIteratorOp objects_string_compare_iterator_b_; |
| 1270 StaticResource<ConsStringIteratorOp> objects_string_iterator_; | 1270 StaticResource<ConsStringIteratorOp> objects_string_iterator_; |
| 1271 unibrow::Mapping<unibrow::Ecma262Canonicalize> | 1271 unibrow::Mapping<unibrow::Ecma262Canonicalize> |
| 1272 regexp_macro_assembler_canonicalize_; | 1272 regexp_macro_assembler_canonicalize_; |
| 1273 RegExpStack* regexp_stack_; | 1273 RegExpStack* regexp_stack_; |
| 1274 DateCache* date_cache_; | 1274 DateCache* date_cache_; |
| 1275 unibrow::Mapping<unibrow::Ecma262Canonicalize> interp_canonicalize_mapping_; | 1275 unibrow::Mapping<unibrow::Ecma262Canonicalize> interp_canonicalize_mapping_; |
| 1276 CodeStubInterfaceDescriptor* code_stub_interface_descriptors_; | 1276 CodeStubInterfaceDescriptor* code_stub_interface_descriptors_; |
| 1277 CallInterfaceDescriptor* call_descriptors_; | 1277 CallInterfaceDescriptorData* call_descriptor_data_; |
| 1278 base::RandomNumberGenerator* random_number_generator_; | 1278 base::RandomNumberGenerator* random_number_generator_; |
| 1279 | 1279 |
| 1280 // Whether the isolate has been created for snapshotting. | 1280 // Whether the isolate has been created for snapshotting. |
| 1281 bool serializer_enabled_; | 1281 bool serializer_enabled_; |
| 1282 | 1282 |
| 1283 // True if fatal error has been signaled for this isolate. | 1283 // True if fatal error has been signaled for this isolate. |
| 1284 bool has_fatal_error_; | 1284 bool has_fatal_error_; |
| 1285 | 1285 |
| 1286 // True if this isolate was initialized from a snapshot. | 1286 // True if this isolate was initialized from a snapshot. |
| 1287 bool initialized_from_snapshot_; | 1287 bool initialized_from_snapshot_; |
| (...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1557 } | 1557 } |
| 1558 | 1558 |
| 1559 EmbeddedVector<char, 128> filename_; | 1559 EmbeddedVector<char, 128> filename_; |
| 1560 FILE* file_; | 1560 FILE* file_; |
| 1561 int scope_depth_; | 1561 int scope_depth_; |
| 1562 }; | 1562 }; |
| 1563 | 1563 |
| 1564 } } // namespace v8::internal | 1564 } } // namespace v8::internal |
| 1565 | 1565 |
| 1566 #endif // V8_ISOLATE_H_ | 1566 #endif // V8_ISOLATE_H_ |
| OLD | NEW |