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 <queue> | 8 #include <queue> |
9 #include <set> | 9 #include <set> |
10 | 10 |
(...skipping 873 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
884 | 884 |
885 unibrow::Mapping<unibrow::Ecma262Canonicalize>* | 885 unibrow::Mapping<unibrow::Ecma262Canonicalize>* |
886 regexp_macro_assembler_canonicalize() { | 886 regexp_macro_assembler_canonicalize() { |
887 return ®exp_macro_assembler_canonicalize_; | 887 return ®exp_macro_assembler_canonicalize_; |
888 } | 888 } |
889 | 889 |
890 RegExpStack* regexp_stack() { return regexp_stack_; } | 890 RegExpStack* regexp_stack() { return regexp_stack_; } |
891 | 891 |
892 unibrow::Mapping<unibrow::Ecma262Canonicalize>* | 892 unibrow::Mapping<unibrow::Ecma262Canonicalize>* |
893 interp_canonicalize_mapping() { | 893 interp_canonicalize_mapping() { |
894 return &interp_canonicalize_mapping_; | 894 return ®exp_macro_assembler_canonicalize_; |
895 } | 895 } |
896 | 896 |
897 Debug* debug() { return debug_; } | 897 Debug* debug() { return debug_; } |
898 | 898 |
899 CpuProfiler* cpu_profiler() const { return cpu_profiler_; } | 899 CpuProfiler* cpu_profiler() const { return cpu_profiler_; } |
900 HeapProfiler* heap_profiler() const { return heap_profiler_; } | 900 HeapProfiler* heap_profiler() const { return heap_profiler_; } |
901 | 901 |
902 #ifdef DEBUG | 902 #ifdef DEBUG |
903 HistogramInfo* heap_histograms() { return heap_histograms_; } | 903 HistogramInfo* heap_histograms() { return heap_histograms_; } |
904 | 904 |
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1238 ThreadManager* thread_manager_; | 1238 ThreadManager* thread_manager_; |
1239 RuntimeState runtime_state_; | 1239 RuntimeState runtime_state_; |
1240 Builtins builtins_; | 1240 Builtins builtins_; |
1241 bool has_installed_extensions_; | 1241 bool has_installed_extensions_; |
1242 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_; | 1242 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_; |
1243 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_; | 1243 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_; |
1244 unibrow::Mapping<unibrow::Ecma262Canonicalize> | 1244 unibrow::Mapping<unibrow::Ecma262Canonicalize> |
1245 regexp_macro_assembler_canonicalize_; | 1245 regexp_macro_assembler_canonicalize_; |
1246 RegExpStack* regexp_stack_; | 1246 RegExpStack* regexp_stack_; |
1247 DateCache* date_cache_; | 1247 DateCache* date_cache_; |
1248 unibrow::Mapping<unibrow::Ecma262Canonicalize> interp_canonicalize_mapping_; | |
1249 CallInterfaceDescriptorData* call_descriptor_data_; | 1248 CallInterfaceDescriptorData* call_descriptor_data_; |
1250 base::RandomNumberGenerator* random_number_generator_; | 1249 base::RandomNumberGenerator* random_number_generator_; |
1251 | 1250 |
1252 // Whether the isolate has been created for snapshotting. | 1251 // Whether the isolate has been created for snapshotting. |
1253 bool serializer_enabled_; | 1252 bool serializer_enabled_; |
1254 | 1253 |
1255 // True if fatal error has been signaled for this isolate. | 1254 // True if fatal error has been signaled for this isolate. |
1256 bool has_fatal_error_; | 1255 bool has_fatal_error_; |
1257 | 1256 |
1258 // True if this isolate was initialized from a snapshot. | 1257 // True if this isolate was initialized from a snapshot. |
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1555 | 1554 |
1556 EmbeddedVector<char, 128> filename_; | 1555 EmbeddedVector<char, 128> filename_; |
1557 FILE* file_; | 1556 FILE* file_; |
1558 int scope_depth_; | 1557 int scope_depth_; |
1559 }; | 1558 }; |
1560 | 1559 |
1561 } // namespace internal | 1560 } // namespace internal |
1562 } // namespace v8 | 1561 } // namespace v8 |
1563 | 1562 |
1564 #endif // V8_ISOLATE_H_ | 1563 #endif // V8_ISOLATE_H_ |
OLD | NEW |