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 944 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
955 has_installed_extensions_ = true; | 955 has_installed_extensions_ = true; |
956 } | 956 } |
957 | 957 |
958 bool has_installed_extensions() { return has_installed_extensions_; } | 958 bool has_installed_extensions() { return has_installed_extensions_; } |
959 | 959 |
960 unibrow::Mapping<unibrow::Ecma262Canonicalize>* | 960 unibrow::Mapping<unibrow::Ecma262Canonicalize>* |
961 regexp_macro_assembler_canonicalize() { | 961 regexp_macro_assembler_canonicalize() { |
962 return ®exp_macro_assembler_canonicalize_; | 962 return ®exp_macro_assembler_canonicalize_; |
963 } | 963 } |
964 | 964 |
| 965 uint16_t* cons_string_hashing_buffer() { return cons_string_hashing_buffer_; } |
| 966 |
965 RegExpStack* regexp_stack() { return regexp_stack_; } | 967 RegExpStack* regexp_stack() { return regexp_stack_; } |
966 | 968 |
967 unibrow::Mapping<unibrow::Ecma262Canonicalize>* | 969 unibrow::Mapping<unibrow::Ecma262Canonicalize>* |
968 interp_canonicalize_mapping() { | 970 interp_canonicalize_mapping() { |
969 return &interp_canonicalize_mapping_; | 971 return &interp_canonicalize_mapping_; |
970 } | 972 } |
971 | 973 |
972 Debug* debug() { return debug_; } | 974 Debug* debug() { return debug_; } |
973 | 975 |
974 inline bool DebuggerHasBreakPoints(); | 976 inline bool DebuggerHasBreakPoints(); |
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1257 EternalHandles* eternal_handles_; | 1259 EternalHandles* eternal_handles_; |
1258 ThreadManager* thread_manager_; | 1260 ThreadManager* thread_manager_; |
1259 RuntimeState runtime_state_; | 1261 RuntimeState runtime_state_; |
1260 Builtins builtins_; | 1262 Builtins builtins_; |
1261 bool has_installed_extensions_; | 1263 bool has_installed_extensions_; |
1262 StringTracker* string_tracker_; | 1264 StringTracker* string_tracker_; |
1263 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_; | 1265 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_; |
1264 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_; | 1266 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_; |
1265 unibrow::Mapping<unibrow::Ecma262Canonicalize> | 1267 unibrow::Mapping<unibrow::Ecma262Canonicalize> |
1266 regexp_macro_assembler_canonicalize_; | 1268 regexp_macro_assembler_canonicalize_; |
| 1269 uint16_t* cons_string_hashing_buffer_; |
1267 RegExpStack* regexp_stack_; | 1270 RegExpStack* regexp_stack_; |
1268 DateCache* date_cache_; | 1271 DateCache* date_cache_; |
1269 unibrow::Mapping<unibrow::Ecma262Canonicalize> interp_canonicalize_mapping_; | 1272 unibrow::Mapping<unibrow::Ecma262Canonicalize> interp_canonicalize_mapping_; |
1270 CallInterfaceDescriptorData* call_descriptor_data_; | 1273 CallInterfaceDescriptorData* call_descriptor_data_; |
1271 base::RandomNumberGenerator* random_number_generator_; | 1274 base::RandomNumberGenerator* random_number_generator_; |
1272 | 1275 |
1273 // Whether the isolate has been created for snapshotting. | 1276 // Whether the isolate has been created for snapshotting. |
1274 bool serializer_enabled_; | 1277 bool serializer_enabled_; |
1275 | 1278 |
1276 // True if fatal error has been signaled for this isolate. | 1279 // True if fatal error has been signaled for this isolate. |
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1553 } | 1556 } |
1554 | 1557 |
1555 EmbeddedVector<char, 128> filename_; | 1558 EmbeddedVector<char, 128> filename_; |
1556 FILE* file_; | 1559 FILE* file_; |
1557 int scope_depth_; | 1560 int scope_depth_; |
1558 }; | 1561 }; |
1559 | 1562 |
1560 } } // namespace v8::internal | 1563 } } // namespace v8::internal |
1561 | 1564 |
1562 #endif // V8_ISOLATE_H_ | 1565 #endif // V8_ISOLATE_H_ |
OLD | NEW |