| 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 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 325 | 325 |
| 326 #endif | 326 #endif |
| 327 | 327 |
| 328 #define ISOLATE_INIT_ARRAY_LIST(V) \ | 328 #define ISOLATE_INIT_ARRAY_LIST(V) \ |
| 329 /* SerializerDeserializer state. */ \ | 329 /* SerializerDeserializer state. */ \ |
| 330 V(Object*, serialize_partial_snapshot_cache, kPartialSnapshotCacheCapacity) \ | 330 V(Object*, serialize_partial_snapshot_cache, kPartialSnapshotCacheCapacity) \ |
| 331 V(int, jsregexp_static_offsets_vector, kJSRegexpStaticOffsetsVectorSize) \ | 331 V(int, jsregexp_static_offsets_vector, kJSRegexpStaticOffsetsVectorSize) \ |
| 332 V(int, bad_char_shift_table, kUC16AlphabetSize) \ | 332 V(int, bad_char_shift_table, kUC16AlphabetSize) \ |
| 333 V(int, good_suffix_shift_table, (kBMMaxShift + 1)) \ | 333 V(int, good_suffix_shift_table, (kBMMaxShift + 1)) \ |
| 334 V(int, suffix_table, (kBMMaxShift + 1)) \ | 334 V(int, suffix_table, (kBMMaxShift + 1)) \ |
| 335 V(uint32_t, random_seed, 4) \ |
| 336 V(uint32_t, private_random_seed, 4) \ |
| 335 ISOLATE_INIT_DEBUG_ARRAY_LIST(V) | 337 ISOLATE_INIT_DEBUG_ARRAY_LIST(V) |
| 336 | 338 |
| 337 typedef List<HeapObject*, PreallocatedStorage> DebugObjectCache; | 339 typedef List<HeapObject*, PreallocatedStorage> DebugObjectCache; |
| 338 | 340 |
| 339 #define ISOLATE_INIT_LIST(V) \ | 341 #define ISOLATE_INIT_LIST(V) \ |
| 340 /* AssertNoZoneAllocation state. */ \ | 342 /* AssertNoZoneAllocation state. */ \ |
| 341 V(bool, zone_allow_allocation, true) \ | 343 V(bool, zone_allow_allocation, true) \ |
| 342 /* SerializerDeserializer state. */ \ | 344 /* SerializerDeserializer state. */ \ |
| 343 V(int, serialize_partial_snapshot_cache_length, 0) \ | 345 V(int, serialize_partial_snapshot_cache_length, 0) \ |
| 344 /* Assembler state. */ \ | 346 /* Assembler state. */ \ |
| (...skipping 1007 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1352 | 1354 |
| 1353 } } // namespace v8::internal | 1355 } } // namespace v8::internal |
| 1354 | 1356 |
| 1355 // TODO(isolates): Get rid of these -inl.h includes and place them only where | 1357 // TODO(isolates): Get rid of these -inl.h includes and place them only where |
| 1356 // they're needed. | 1358 // they're needed. |
| 1357 #include "allocation-inl.h" | 1359 #include "allocation-inl.h" |
| 1358 #include "zone-inl.h" | 1360 #include "zone-inl.h" |
| 1359 #include "frames-inl.h" | 1361 #include "frames-inl.h" |
| 1360 | 1362 |
| 1361 #endif // V8_ISOLATE_H_ | 1363 #endif // V8_ISOLATE_H_ |
| OLD | NEW |