OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 290 matching lines...) Loading... |
301 V(CommentStatistic, paged_space_comments_statistics, \ | 301 V(CommentStatistic, paged_space_comments_statistics, \ |
302 CommentStatistic::kMaxComments + 1) | 302 CommentStatistic::kMaxComments + 1) |
303 #else | 303 #else |
304 | 304 |
305 #define ISOLATE_INIT_DEBUG_ARRAY_LIST(V) | 305 #define ISOLATE_INIT_DEBUG_ARRAY_LIST(V) |
306 | 306 |
307 #endif | 307 #endif |
308 | 308 |
309 #define ISOLATE_INIT_ARRAY_LIST(V) \ | 309 #define ISOLATE_INIT_ARRAY_LIST(V) \ |
310 /* SerializerDeserializer state. */ \ | 310 /* SerializerDeserializer state. */ \ |
311 V(int, jsregexp_static_offsets_vector, kJSRegexpStaticOffsetsVectorSize) \ | 311 V(int32_t, jsregexp_static_offsets_vector, kJSRegexpStaticOffsetsVectorSize) \ |
312 V(int, bad_char_shift_table, kUC16AlphabetSize) \ | 312 V(int, bad_char_shift_table, kUC16AlphabetSize) \ |
313 V(int, good_suffix_shift_table, (kBMMaxShift + 1)) \ | 313 V(int, good_suffix_shift_table, (kBMMaxShift + 1)) \ |
314 V(int, suffix_table, (kBMMaxShift + 1)) \ | 314 V(int, suffix_table, (kBMMaxShift + 1)) \ |
315 V(uint32_t, private_random_seed, 2) \ | 315 V(uint32_t, private_random_seed, 2) \ |
316 ISOLATE_INIT_DEBUG_ARRAY_LIST(V) | 316 ISOLATE_INIT_DEBUG_ARRAY_LIST(V) |
317 | 317 |
318 typedef List<HeapObject*, PreallocatedStorageAllocationPolicy> DebugObjectCache; | 318 typedef List<HeapObject*, PreallocatedStorageAllocationPolicy> DebugObjectCache; |
319 | 319 |
320 #define ISOLATE_INIT_LIST(V) \ | 320 #define ISOLATE_INIT_LIST(V) \ |
321 /* SerializerDeserializer state. */ \ | 321 /* SerializerDeserializer state. */ \ |
(...skipping 1120 matching lines...) Loading... |
1442 | 1442 |
1443 // Mark the global context with out of memory. | 1443 // Mark the global context with out of memory. |
1444 inline void Context::mark_out_of_memory() { | 1444 inline void Context::mark_out_of_memory() { |
1445 global_context()->set_out_of_memory(HEAP->true_value()); | 1445 global_context()->set_out_of_memory(HEAP->true_value()); |
1446 } | 1446 } |
1447 | 1447 |
1448 | 1448 |
1449 } } // namespace v8::internal | 1449 } } // namespace v8::internal |
1450 | 1450 |
1451 #endif // V8_ISOLATE_H_ | 1451 #endif // V8_ISOLATE_H_ |
OLD | NEW |