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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 V(ALLOW_CODE_GEN_FROM_STRINGS_INDEX, Object, allow_code_gen_from_strings) \ | 165 V(ALLOW_CODE_GEN_FROM_STRINGS_INDEX, Object, allow_code_gen_from_strings) \ |
166 V(ERROR_MESSAGE_FOR_CODE_GEN_FROM_STRINGS_INDEX, Object, \ | 166 V(ERROR_MESSAGE_FOR_CODE_GEN_FROM_STRINGS_INDEX, Object, \ |
167 error_message_for_code_gen_from_strings) \ | 167 error_message_for_code_gen_from_strings) \ |
168 V(TO_COMPLETE_PROPERTY_DESCRIPTOR_INDEX, JSFunction, \ | 168 V(TO_COMPLETE_PROPERTY_DESCRIPTOR_INDEX, JSFunction, \ |
169 to_complete_property_descriptor) \ | 169 to_complete_property_descriptor) \ |
170 V(DERIVED_HAS_TRAP_INDEX, JSFunction, derived_has_trap) \ | 170 V(DERIVED_HAS_TRAP_INDEX, JSFunction, derived_has_trap) \ |
171 V(DERIVED_GET_TRAP_INDEX, JSFunction, derived_get_trap) \ | 171 V(DERIVED_GET_TRAP_INDEX, JSFunction, derived_get_trap) \ |
172 V(DERIVED_SET_TRAP_INDEX, JSFunction, derived_set_trap) \ | 172 V(DERIVED_SET_TRAP_INDEX, JSFunction, derived_set_trap) \ |
173 V(PROXY_ENUMERATE_INDEX, JSFunction, proxy_enumerate) \ | 173 V(PROXY_ENUMERATE_INDEX, JSFunction, proxy_enumerate) \ |
174 V(OBSERVERS_NOTIFY_CHANGE_INDEX, JSFunction, observers_notify_change) \ | 174 V(OBSERVERS_NOTIFY_CHANGE_INDEX, JSFunction, observers_notify_change) \ |
| 175 V(OBSERVERS_ENQUEUE_SPLICE_INDEX, JSFunction, observers_enqueue_splice) \ |
| 176 V(OBSERVERS_BEGIN_SPLICE_INDEX, JSFunction, \ |
| 177 observers_begin_perform_splice) \ |
| 178 V(OBSERVERS_END_SPLICE_INDEX, JSFunction, \ |
| 179 observers_end_perform_splice) \ |
175 V(OBSERVERS_DELIVER_CHANGES_INDEX, JSFunction, observers_deliver_changes) \ | 180 V(OBSERVERS_DELIVER_CHANGES_INDEX, JSFunction, observers_deliver_changes) \ |
176 V(GENERATOR_FUNCTION_MAP_INDEX, Map, generator_function_map) \ | 181 V(GENERATOR_FUNCTION_MAP_INDEX, Map, generator_function_map) \ |
177 V(STRICT_MODE_GENERATOR_FUNCTION_MAP_INDEX, Map, \ | 182 V(STRICT_MODE_GENERATOR_FUNCTION_MAP_INDEX, Map, \ |
178 strict_mode_generator_function_map) \ | 183 strict_mode_generator_function_map) \ |
179 V(GENERATOR_OBJECT_PROTOTYPE_MAP_INDEX, Map, \ | 184 V(GENERATOR_OBJECT_PROTOTYPE_MAP_INDEX, Map, \ |
180 generator_object_prototype_map) \ | 185 generator_object_prototype_map) \ |
181 V(GENERATOR_RESULT_MAP_INDEX, Map, generator_result_map) \ | 186 V(GENERATOR_RESULT_MAP_INDEX, Map, generator_result_map) \ |
182 V(RANDOM_SEED_INDEX, ByteArray, random_seed) | 187 V(RANDOM_SEED_INDEX, ByteArray, random_seed) |
183 | 188 |
184 // JSFunctions are pairs (context, function code), sometimes also called | 189 // JSFunctions are pairs (context, function code), sometimes also called |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
310 OUT_OF_MEMORY_INDEX, | 315 OUT_OF_MEMORY_INDEX, |
311 EMBEDDER_DATA_INDEX, | 316 EMBEDDER_DATA_INDEX, |
312 ALLOW_CODE_GEN_FROM_STRINGS_INDEX, | 317 ALLOW_CODE_GEN_FROM_STRINGS_INDEX, |
313 ERROR_MESSAGE_FOR_CODE_GEN_FROM_STRINGS_INDEX, | 318 ERROR_MESSAGE_FOR_CODE_GEN_FROM_STRINGS_INDEX, |
314 TO_COMPLETE_PROPERTY_DESCRIPTOR_INDEX, | 319 TO_COMPLETE_PROPERTY_DESCRIPTOR_INDEX, |
315 DERIVED_HAS_TRAP_INDEX, | 320 DERIVED_HAS_TRAP_INDEX, |
316 DERIVED_GET_TRAP_INDEX, | 321 DERIVED_GET_TRAP_INDEX, |
317 DERIVED_SET_TRAP_INDEX, | 322 DERIVED_SET_TRAP_INDEX, |
318 PROXY_ENUMERATE_INDEX, | 323 PROXY_ENUMERATE_INDEX, |
319 OBSERVERS_NOTIFY_CHANGE_INDEX, | 324 OBSERVERS_NOTIFY_CHANGE_INDEX, |
| 325 OBSERVERS_ENQUEUE_SPLICE_INDEX, |
| 326 OBSERVERS_BEGIN_SPLICE_INDEX, |
| 327 OBSERVERS_END_SPLICE_INDEX, |
320 OBSERVERS_DELIVER_CHANGES_INDEX, | 328 OBSERVERS_DELIVER_CHANGES_INDEX, |
321 GENERATOR_FUNCTION_MAP_INDEX, | 329 GENERATOR_FUNCTION_MAP_INDEX, |
322 STRICT_MODE_GENERATOR_FUNCTION_MAP_INDEX, | 330 STRICT_MODE_GENERATOR_FUNCTION_MAP_INDEX, |
323 GENERATOR_OBJECT_PROTOTYPE_MAP_INDEX, | 331 GENERATOR_OBJECT_PROTOTYPE_MAP_INDEX, |
324 GENERATOR_RESULT_MAP_INDEX, | 332 GENERATOR_RESULT_MAP_INDEX, |
325 RANDOM_SEED_INDEX, | 333 RANDOM_SEED_INDEX, |
326 | 334 |
327 // Properties from here are treated as weak references by the full GC. | 335 // Properties from here are treated as weak references by the full GC. |
328 // Scavenge treats them as strong references. | 336 // Scavenge treats them as strong references. |
329 OPTIMIZED_FUNCTIONS_LIST, // Weak. | 337 OPTIMIZED_FUNCTIONS_LIST, // Weak. |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
501 static bool IsBootstrappingOrGlobalObject(Object* object); | 509 static bool IsBootstrappingOrGlobalObject(Object* object); |
502 #endif | 510 #endif |
503 | 511 |
504 STATIC_CHECK(kHeaderSize == Internals::kContextHeaderSize); | 512 STATIC_CHECK(kHeaderSize == Internals::kContextHeaderSize); |
505 STATIC_CHECK(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); | 513 STATIC_CHECK(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); |
506 }; | 514 }; |
507 | 515 |
508 } } // namespace v8::internal | 516 } } // namespace v8::internal |
509 | 517 |
510 #endif // V8_CONTEXTS_H_ | 518 #endif // V8_CONTEXTS_H_ |
OLD | NEW |