| 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 895 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 906 return ®exp_macro_assembler_canonicalize_; | 906 return ®exp_macro_assembler_canonicalize_; |
| 907 } | 907 } |
| 908 | 908 |
| 909 RegExpStack* regexp_stack() { return regexp_stack_; } | 909 RegExpStack* regexp_stack() { return regexp_stack_; } |
| 910 | 910 |
| 911 unibrow::Mapping<unibrow::Ecma262Canonicalize>* | 911 unibrow::Mapping<unibrow::Ecma262Canonicalize>* |
| 912 interp_canonicalize_mapping() { | 912 interp_canonicalize_mapping() { |
| 913 return &interp_canonicalize_mapping_; | 913 return &interp_canonicalize_mapping_; |
| 914 } | 914 } |
| 915 | 915 |
| 916 uint32_t HasherSeed() { |
| 917 if (FLAG_randomize_string_hashes) { |
| 918 ASSERT(hasher_seed_ != 0); |
| 919 } |
| 920 return hasher_seed_; |
| 921 } |
| 922 |
| 916 void* PreallocatedStorageNew(size_t size); | 923 void* PreallocatedStorageNew(size_t size); |
| 917 void PreallocatedStorageDelete(void* p); | 924 void PreallocatedStorageDelete(void* p); |
| 918 void PreallocatedStorageInit(size_t size); | 925 void PreallocatedStorageInit(size_t size); |
| 919 | 926 |
| 920 #ifdef ENABLE_DEBUGGER_SUPPORT | 927 #ifdef ENABLE_DEBUGGER_SUPPORT |
| 921 Debugger* debugger() { | 928 Debugger* debugger() { |
| 922 if (!NoBarrier_Load(&debugger_initialized_)) InitializeDebugger(); | 929 if (!NoBarrier_Load(&debugger_initialized_)) InitializeDebugger(); |
| 923 return debugger_; | 930 return debugger_; |
| 924 } | 931 } |
| 925 Debug* debug() { | 932 Debug* debug() { |
| (...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1167 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_; | 1174 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_; |
| 1168 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_; | 1175 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_; |
| 1169 StringInputBuffer objects_string_compare_buffer_a_; | 1176 StringInputBuffer objects_string_compare_buffer_a_; |
| 1170 StringInputBuffer objects_string_compare_buffer_b_; | 1177 StringInputBuffer objects_string_compare_buffer_b_; |
| 1171 StaticResource<StringInputBuffer> objects_string_input_buffer_; | 1178 StaticResource<StringInputBuffer> objects_string_input_buffer_; |
| 1172 unibrow::Mapping<unibrow::Ecma262Canonicalize> | 1179 unibrow::Mapping<unibrow::Ecma262Canonicalize> |
| 1173 regexp_macro_assembler_canonicalize_; | 1180 regexp_macro_assembler_canonicalize_; |
| 1174 RegExpStack* regexp_stack_; | 1181 RegExpStack* regexp_stack_; |
| 1175 unibrow::Mapping<unibrow::Ecma262Canonicalize> interp_canonicalize_mapping_; | 1182 unibrow::Mapping<unibrow::Ecma262Canonicalize> interp_canonicalize_mapping_; |
| 1176 void* embedder_data_; | 1183 void* embedder_data_; |
| 1184 uint32_t hasher_seed_; |
| 1177 | 1185 |
| 1178 #if defined(V8_TARGET_ARCH_ARM) && !defined(__arm__) || \ | 1186 #if defined(V8_TARGET_ARCH_ARM) && !defined(__arm__) || \ |
| 1179 defined(V8_TARGET_ARCH_MIPS) && !defined(__mips__) | 1187 defined(V8_TARGET_ARCH_MIPS) && !defined(__mips__) |
| 1180 bool simulator_initialized_; | 1188 bool simulator_initialized_; |
| 1181 HashMap* simulator_i_cache_; | 1189 HashMap* simulator_i_cache_; |
| 1182 Redirection* simulator_redirection_; | 1190 Redirection* simulator_redirection_; |
| 1183 #endif | 1191 #endif |
| 1184 | 1192 |
| 1185 #ifdef DEBUG | 1193 #ifdef DEBUG |
| 1186 // A static array of histogram info for each type. | 1194 // A static array of histogram info for each type. |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1366 | 1374 |
| 1367 // Mark the global context with out of memory. | 1375 // Mark the global context with out of memory. |
| 1368 inline void Context::mark_out_of_memory() { | 1376 inline void Context::mark_out_of_memory() { |
| 1369 global_context()->set_out_of_memory(HEAP->true_value()); | 1377 global_context()->set_out_of_memory(HEAP->true_value()); |
| 1370 } | 1378 } |
| 1371 | 1379 |
| 1372 | 1380 |
| 1373 } } // namespace v8::internal | 1381 } } // namespace v8::internal |
| 1374 | 1382 |
| 1375 #endif // V8_ISOLATE_H_ | 1383 #endif // V8_ISOLATE_H_ |
| OLD | NEW |