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 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 | 304 |
305 #endif | 305 #endif |
306 | 306 |
307 #define ISOLATE_INIT_ARRAY_LIST(V) \ | 307 #define ISOLATE_INIT_ARRAY_LIST(V) \ |
308 /* SerializerDeserializer state. */ \ | 308 /* SerializerDeserializer state. */ \ |
309 V(Object*, serialize_partial_snapshot_cache, kPartialSnapshotCacheCapacity) \ | 309 V(Object*, serialize_partial_snapshot_cache, kPartialSnapshotCacheCapacity) \ |
310 V(int, jsregexp_static_offsets_vector, kJSRegexpStaticOffsetsVectorSize) \ | 310 V(int, jsregexp_static_offsets_vector, kJSRegexpStaticOffsetsVectorSize) \ |
311 V(int, bad_char_shift_table, kUC16AlphabetSize) \ | 311 V(int, bad_char_shift_table, kUC16AlphabetSize) \ |
312 V(int, good_suffix_shift_table, (kBMMaxShift + 1)) \ | 312 V(int, good_suffix_shift_table, (kBMMaxShift + 1)) \ |
313 V(int, suffix_table, (kBMMaxShift + 1)) \ | 313 V(int, suffix_table, (kBMMaxShift + 1)) \ |
314 V(uint32_t, random_seed, 2) \ | |
315 V(uint32_t, private_random_seed, 2) \ | 314 V(uint32_t, private_random_seed, 2) \ |
316 ISOLATE_INIT_DEBUG_ARRAY_LIST(V) | 315 ISOLATE_INIT_DEBUG_ARRAY_LIST(V) |
317 | 316 |
318 typedef List<HeapObject*, PreallocatedStorage> DebugObjectCache; | 317 typedef List<HeapObject*, PreallocatedStorage> DebugObjectCache; |
319 | 318 |
320 #define ISOLATE_INIT_LIST(V) \ | 319 #define ISOLATE_INIT_LIST(V) \ |
321 /* AssertNoZoneAllocation state. */ \ | 320 /* AssertNoZoneAllocation state. */ \ |
322 V(bool, zone_allow_allocation, true) \ | 321 V(bool, zone_allow_allocation, true) \ |
323 /* SerializerDeserializer state. */ \ | 322 /* SerializerDeserializer state. */ \ |
324 V(int, serialize_partial_snapshot_cache_length, 0) \ | 323 V(int, serialize_partial_snapshot_cache_length, 0) \ |
(...skipping 1025 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1350 | 1349 |
1351 // Mark the global context with out of memory. | 1350 // Mark the global context with out of memory. |
1352 inline void Context::mark_out_of_memory() { | 1351 inline void Context::mark_out_of_memory() { |
1353 global_context()->set_out_of_memory(HEAP->true_value()); | 1352 global_context()->set_out_of_memory(HEAP->true_value()); |
1354 } | 1353 } |
1355 | 1354 |
1356 | 1355 |
1357 } } // namespace v8::internal | 1356 } } // namespace v8::internal |
1358 | 1357 |
1359 #endif // V8_ISOLATE_H_ | 1358 #endif // V8_ISOLATE_H_ |
OLD | NEW |