| 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 V(TO_STRING_FUN_INDEX, JSFunction, to_string_fun) \ | 118 V(TO_STRING_FUN_INDEX, JSFunction, to_string_fun) \ |
| 119 V(TO_DETAIL_STRING_FUN_INDEX, JSFunction, to_detail_string_fun) \ | 119 V(TO_DETAIL_STRING_FUN_INDEX, JSFunction, to_detail_string_fun) \ |
| 120 V(TO_OBJECT_FUN_INDEX, JSFunction, to_object_fun) \ | 120 V(TO_OBJECT_FUN_INDEX, JSFunction, to_object_fun) \ |
| 121 V(TO_INTEGER_FUN_INDEX, JSFunction, to_integer_fun) \ | 121 V(TO_INTEGER_FUN_INDEX, JSFunction, to_integer_fun) \ |
| 122 V(TO_UINT32_FUN_INDEX, JSFunction, to_uint32_fun) \ | 122 V(TO_UINT32_FUN_INDEX, JSFunction, to_uint32_fun) \ |
| 123 V(TO_INT32_FUN_INDEX, JSFunction, to_int32_fun) \ | 123 V(TO_INT32_FUN_INDEX, JSFunction, to_int32_fun) \ |
| 124 V(GLOBAL_EVAL_FUN_INDEX, JSFunction, global_eval_fun) \ | 124 V(GLOBAL_EVAL_FUN_INDEX, JSFunction, global_eval_fun) \ |
| 125 V(INSTANTIATE_FUN_INDEX, JSFunction, instantiate_fun) \ | 125 V(INSTANTIATE_FUN_INDEX, JSFunction, instantiate_fun) \ |
| 126 V(CONFIGURE_INSTANCE_FUN_INDEX, JSFunction, configure_instance_fun) \ | 126 V(CONFIGURE_INSTANCE_FUN_INDEX, JSFunction, configure_instance_fun) \ |
| 127 V(ARRAY_BUFFER_FUN_INDEX, JSFunction, array_buffer_fun) \ | 127 V(ARRAY_BUFFER_FUN_INDEX, JSFunction, array_buffer_fun) \ |
| 128 V(DATA_VIEW_FUN_INDEX, JSFunction, data_view_fun) \ |
| 128 V(UINT8_ARRAY_FUN_INDEX, JSFunction, uint8_array_fun) \ | 129 V(UINT8_ARRAY_FUN_INDEX, JSFunction, uint8_array_fun) \ |
| 129 V(INT8_ARRAY_FUN_INDEX, JSFunction, int8_array_fun) \ | 130 V(INT8_ARRAY_FUN_INDEX, JSFunction, int8_array_fun) \ |
| 130 V(UINT16_ARRAY_FUN_INDEX, JSFunction, uint16_array_fun) \ | 131 V(UINT16_ARRAY_FUN_INDEX, JSFunction, uint16_array_fun) \ |
| 131 V(INT16_ARRAY_FUN_INDEX, JSFunction, int16_array_fun) \ | 132 V(INT16_ARRAY_FUN_INDEX, JSFunction, int16_array_fun) \ |
| 132 V(UINT32_ARRAY_FUN_INDEX, JSFunction, uint32_array_fun) \ | 133 V(UINT32_ARRAY_FUN_INDEX, JSFunction, uint32_array_fun) \ |
| 133 V(INT32_ARRAY_FUN_INDEX, JSFunction, int32_array_fun) \ | 134 V(INT32_ARRAY_FUN_INDEX, JSFunction, int32_array_fun) \ |
| 134 V(FLOAT_ARRAY_FUN_INDEX, JSFunction, float_array_fun) \ | 135 V(FLOAT_ARRAY_FUN_INDEX, JSFunction, float_array_fun) \ |
| 135 V(DOUBLE_ARRAY_FUN_INDEX, JSFunction, double_array_fun) \ | 136 V(DOUBLE_ARRAY_FUN_INDEX, JSFunction, double_array_fun) \ |
| 136 V(UINT8C_ARRAY_FUN_INDEX, JSFunction, uint8c_array_fun) \ | 137 V(UINT8C_ARRAY_FUN_INDEX, JSFunction, uint8c_array_fun) \ |
| 137 V(FUNCTION_MAP_INDEX, Map, function_map) \ | 138 V(FUNCTION_MAP_INDEX, Map, function_map) \ |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 TO_DETAIL_STRING_FUN_INDEX, | 279 TO_DETAIL_STRING_FUN_INDEX, |
| 279 TO_OBJECT_FUN_INDEX, | 280 TO_OBJECT_FUN_INDEX, |
| 280 TO_INTEGER_FUN_INDEX, | 281 TO_INTEGER_FUN_INDEX, |
| 281 TO_UINT32_FUN_INDEX, | 282 TO_UINT32_FUN_INDEX, |
| 282 TO_INT32_FUN_INDEX, | 283 TO_INT32_FUN_INDEX, |
| 283 TO_BOOLEAN_FUN_INDEX, | 284 TO_BOOLEAN_FUN_INDEX, |
| 284 GLOBAL_EVAL_FUN_INDEX, | 285 GLOBAL_EVAL_FUN_INDEX, |
| 285 INSTANTIATE_FUN_INDEX, | 286 INSTANTIATE_FUN_INDEX, |
| 286 CONFIGURE_INSTANCE_FUN_INDEX, | 287 CONFIGURE_INSTANCE_FUN_INDEX, |
| 287 ARRAY_BUFFER_FUN_INDEX, | 288 ARRAY_BUFFER_FUN_INDEX, |
| 289 DATA_VIEW_FUN_INDEX, |
| 288 UINT8_ARRAY_FUN_INDEX, | 290 UINT8_ARRAY_FUN_INDEX, |
| 289 INT8_ARRAY_FUN_INDEX, | 291 INT8_ARRAY_FUN_INDEX, |
| 290 UINT16_ARRAY_FUN_INDEX, | 292 UINT16_ARRAY_FUN_INDEX, |
| 291 INT16_ARRAY_FUN_INDEX, | 293 INT16_ARRAY_FUN_INDEX, |
| 292 UINT32_ARRAY_FUN_INDEX, | 294 UINT32_ARRAY_FUN_INDEX, |
| 293 INT32_ARRAY_FUN_INDEX, | 295 INT32_ARRAY_FUN_INDEX, |
| 294 FLOAT_ARRAY_FUN_INDEX, | 296 FLOAT_ARRAY_FUN_INDEX, |
| 295 DOUBLE_ARRAY_FUN_INDEX, | 297 DOUBLE_ARRAY_FUN_INDEX, |
| 296 UINT8C_ARRAY_FUN_INDEX, | 298 UINT8C_ARRAY_FUN_INDEX, |
| 297 MESSAGE_LISTENERS_INDEX, | 299 MESSAGE_LISTENERS_INDEX, |
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 501 static bool IsBootstrappingOrGlobalObject(Object* object); | 503 static bool IsBootstrappingOrGlobalObject(Object* object); |
| 502 #endif | 504 #endif |
| 503 | 505 |
| 504 STATIC_CHECK(kHeaderSize == Internals::kContextHeaderSize); | 506 STATIC_CHECK(kHeaderSize == Internals::kContextHeaderSize); |
| 505 STATIC_CHECK(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); | 507 STATIC_CHECK(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); |
| 506 }; | 508 }; |
| 507 | 509 |
| 508 } } // namespace v8::internal | 510 } } // namespace v8::internal |
| 509 | 511 |
| 510 #endif // V8_CONTEXTS_H_ | 512 #endif // V8_CONTEXTS_H_ |
| OLD | NEW |