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 877 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
888 } | 888 } |
889 | 889 |
890 bool fp_stubs_generated() { return fp_stubs_generated_; } | 890 bool fp_stubs_generated() { return fp_stubs_generated_; } |
891 | 891 |
892 StaticResource<SafeStringInputBuffer>* compiler_safe_string_input_buffer() { | 892 StaticResource<SafeStringInputBuffer>* compiler_safe_string_input_buffer() { |
893 return &compiler_safe_string_input_buffer_; | 893 return &compiler_safe_string_input_buffer_; |
894 } | 894 } |
895 | 895 |
896 Builtins* builtins() { return &builtins_; } | 896 Builtins* builtins() { return &builtins_; } |
897 | 897 |
| 898 void NotifyExtensionInstalled() { |
| 899 has_installed_extensions_ = true; |
| 900 } |
| 901 |
| 902 bool has_installed_extensions() { return has_installed_extensions_; } |
| 903 |
898 unibrow::Mapping<unibrow::Ecma262Canonicalize>* | 904 unibrow::Mapping<unibrow::Ecma262Canonicalize>* |
899 regexp_macro_assembler_canonicalize() { | 905 regexp_macro_assembler_canonicalize() { |
900 return ®exp_macro_assembler_canonicalize_; | 906 return ®exp_macro_assembler_canonicalize_; |
901 } | 907 } |
902 | 908 |
903 RegExpStack* regexp_stack() { return regexp_stack_; } | 909 RegExpStack* regexp_stack() { return regexp_stack_; } |
904 | 910 |
905 unibrow::Mapping<unibrow::Ecma262Canonicalize>* | 911 unibrow::Mapping<unibrow::Ecma262Canonicalize>* |
906 interp_canonicalize_mapping() { | 912 interp_canonicalize_mapping() { |
907 return &interp_canonicalize_mapping_; | 913 return &interp_canonicalize_mapping_; |
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1149 bool preallocated_storage_preallocated_; | 1155 bool preallocated_storage_preallocated_; |
1150 InnerPointerToCodeCache* inner_pointer_to_code_cache_; | 1156 InnerPointerToCodeCache* inner_pointer_to_code_cache_; |
1151 StringInputBuffer* write_input_buffer_; | 1157 StringInputBuffer* write_input_buffer_; |
1152 GlobalHandles* global_handles_; | 1158 GlobalHandles* global_handles_; |
1153 ContextSwitcher* context_switcher_; | 1159 ContextSwitcher* context_switcher_; |
1154 ThreadManager* thread_manager_; | 1160 ThreadManager* thread_manager_; |
1155 RuntimeState runtime_state_; | 1161 RuntimeState runtime_state_; |
1156 bool fp_stubs_generated_; | 1162 bool fp_stubs_generated_; |
1157 StaticResource<SafeStringInputBuffer> compiler_safe_string_input_buffer_; | 1163 StaticResource<SafeStringInputBuffer> compiler_safe_string_input_buffer_; |
1158 Builtins builtins_; | 1164 Builtins builtins_; |
| 1165 bool has_installed_extensions_; |
1159 StringTracker* string_tracker_; | 1166 StringTracker* string_tracker_; |
1160 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_; | 1167 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_; |
1161 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_; | 1168 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_; |
1162 StringInputBuffer objects_string_compare_buffer_a_; | 1169 StringInputBuffer objects_string_compare_buffer_a_; |
1163 StringInputBuffer objects_string_compare_buffer_b_; | 1170 StringInputBuffer objects_string_compare_buffer_b_; |
1164 StaticResource<StringInputBuffer> objects_string_input_buffer_; | 1171 StaticResource<StringInputBuffer> objects_string_input_buffer_; |
1165 unibrow::Mapping<unibrow::Ecma262Canonicalize> | 1172 unibrow::Mapping<unibrow::Ecma262Canonicalize> |
1166 regexp_macro_assembler_canonicalize_; | 1173 regexp_macro_assembler_canonicalize_; |
1167 RegExpStack* regexp_stack_; | 1174 RegExpStack* regexp_stack_; |
1168 unibrow::Mapping<unibrow::Ecma262Canonicalize> interp_canonicalize_mapping_; | 1175 unibrow::Mapping<unibrow::Ecma262Canonicalize> interp_canonicalize_mapping_; |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1359 | 1366 |
1360 // Mark the global context with out of memory. | 1367 // Mark the global context with out of memory. |
1361 inline void Context::mark_out_of_memory() { | 1368 inline void Context::mark_out_of_memory() { |
1362 global_context()->set_out_of_memory(HEAP->true_value()); | 1369 global_context()->set_out_of_memory(HEAP->true_value()); |
1363 } | 1370 } |
1364 | 1371 |
1365 | 1372 |
1366 } } // namespace v8::internal | 1373 } } // namespace v8::internal |
1367 | 1374 |
1368 #endif // V8_ISOLATE_H_ | 1375 #endif // V8_ISOLATE_H_ |
OLD | NEW |