OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 872 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
883 } | 883 } |
884 | 884 |
885 Builtins* builtins() { return &builtins_; } | 885 Builtins* builtins() { return &builtins_; } |
886 | 886 |
887 unibrow::Mapping<unibrow::Ecma262Canonicalize>* | 887 unibrow::Mapping<unibrow::Ecma262Canonicalize>* |
888 regexp_macro_assembler_canonicalize() { | 888 regexp_macro_assembler_canonicalize() { |
889 return ®exp_macro_assembler_canonicalize_; | 889 return ®exp_macro_assembler_canonicalize_; |
890 } | 890 } |
891 | 891 |
892 RegExpStack* regexp_stack() { return regexp_stack_; } | 892 RegExpStack* regexp_stack() { return regexp_stack_; } |
| 893 int regexp_expansion_factor() { return regexp_expansion_factor_; } |
| 894 void set_regexp_expansion_factor(int value) { |
| 895 regexp_expansion_factor_ = value; |
| 896 } |
| 897 |
893 | 898 |
894 unibrow::Mapping<unibrow::Ecma262Canonicalize>* | 899 unibrow::Mapping<unibrow::Ecma262Canonicalize>* |
895 interp_canonicalize_mapping() { | 900 interp_canonicalize_mapping() { |
896 return &interp_canonicalize_mapping_; | 901 return &interp_canonicalize_mapping_; |
897 } | 902 } |
898 | 903 |
899 void* PreallocatedStorageNew(size_t size); | 904 void* PreallocatedStorageNew(size_t size); |
900 void PreallocatedStorageDelete(void* p); | 905 void PreallocatedStorageDelete(void* p); |
901 void PreallocatedStorageInit(size_t size); | 906 void PreallocatedStorageInit(size_t size); |
902 | 907 |
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1143 Builtins builtins_; | 1148 Builtins builtins_; |
1144 StringTracker* string_tracker_; | 1149 StringTracker* string_tracker_; |
1145 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_; | 1150 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_; |
1146 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_; | 1151 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_; |
1147 StringInputBuffer objects_string_compare_buffer_a_; | 1152 StringInputBuffer objects_string_compare_buffer_a_; |
1148 StringInputBuffer objects_string_compare_buffer_b_; | 1153 StringInputBuffer objects_string_compare_buffer_b_; |
1149 StaticResource<StringInputBuffer> objects_string_input_buffer_; | 1154 StaticResource<StringInputBuffer> objects_string_input_buffer_; |
1150 unibrow::Mapping<unibrow::Ecma262Canonicalize> | 1155 unibrow::Mapping<unibrow::Ecma262Canonicalize> |
1151 regexp_macro_assembler_canonicalize_; | 1156 regexp_macro_assembler_canonicalize_; |
1152 RegExpStack* regexp_stack_; | 1157 RegExpStack* regexp_stack_; |
| 1158 int regexp_expansion_factor_; |
1153 unibrow::Mapping<unibrow::Ecma262Canonicalize> interp_canonicalize_mapping_; | 1159 unibrow::Mapping<unibrow::Ecma262Canonicalize> interp_canonicalize_mapping_; |
1154 void* embedder_data_; | 1160 void* embedder_data_; |
1155 | 1161 |
1156 #if defined(V8_TARGET_ARCH_ARM) && !defined(__arm__) || \ | 1162 #if defined(V8_TARGET_ARCH_ARM) && !defined(__arm__) || \ |
1157 defined(V8_TARGET_ARCH_MIPS) && !defined(__mips__) | 1163 defined(V8_TARGET_ARCH_MIPS) && !defined(__mips__) |
1158 bool simulator_initialized_; | 1164 bool simulator_initialized_; |
1159 HashMap* simulator_i_cache_; | 1165 HashMap* simulator_i_cache_; |
1160 Redirection* simulator_redirection_; | 1166 Redirection* simulator_redirection_; |
1161 #endif | 1167 #endif |
1162 | 1168 |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1365 | 1371 |
1366 } } // namespace v8::internal | 1372 } } // namespace v8::internal |
1367 | 1373 |
1368 // TODO(isolates): Get rid of these -inl.h includes and place them only where | 1374 // TODO(isolates): Get rid of these -inl.h includes and place them only where |
1369 // they're needed. | 1375 // they're needed. |
1370 #include "allocation-inl.h" | 1376 #include "allocation-inl.h" |
1371 #include "zone-inl.h" | 1377 #include "zone-inl.h" |
1372 #include "frames-inl.h" | 1378 #include "frames-inl.h" |
1373 | 1379 |
1374 #endif // V8_ISOLATE_H_ | 1380 #endif // V8_ISOLATE_H_ |
OLD | NEW |