OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_CONTEXTS_H_ | 5 #ifndef V8_CONTEXTS_H_ |
6 #define V8_CONTEXTS_H_ | 6 #define V8_CONTEXTS_H_ |
7 | 7 |
8 #include "src/heap/heap.h" | 8 #include "src/heap/heap.h" |
9 #include "src/objects.h" | 9 #include "src/objects.h" |
10 | 10 |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 V(MAKE_TYPE_ERROR_INDEX, JSFunction, make_type_error) \ | 44 V(MAKE_TYPE_ERROR_INDEX, JSFunction, make_type_error) \ |
45 V(MAKE_URI_ERROR_INDEX, JSFunction, make_uri_error) \ | 45 V(MAKE_URI_ERROR_INDEX, JSFunction, make_uri_error) \ |
46 V(OBJECT_DEFINE_PROPERTIES, JSFunction, object_define_properties) \ | 46 V(OBJECT_DEFINE_PROPERTIES, JSFunction, object_define_properties) \ |
47 V(OBJECT_DEFINE_PROPERTY, JSFunction, object_define_property) \ | 47 V(OBJECT_DEFINE_PROPERTY, JSFunction, object_define_property) \ |
48 V(OBJECT_FREEZE, JSFunction, object_freeze) \ | 48 V(OBJECT_FREEZE, JSFunction, object_freeze) \ |
49 V(OBJECT_GET_PROTOTYPE_OF, JSFunction, object_get_prototype_of) \ | 49 V(OBJECT_GET_PROTOTYPE_OF, JSFunction, object_get_prototype_of) \ |
50 V(OBJECT_IS_EXTENSIBLE, JSFunction, object_is_extensible) \ | 50 V(OBJECT_IS_EXTENSIBLE, JSFunction, object_is_extensible) \ |
51 V(OBJECT_IS_FROZEN, JSFunction, object_is_frozen) \ | 51 V(OBJECT_IS_FROZEN, JSFunction, object_is_frozen) \ |
52 V(OBJECT_IS_SEALED, JSFunction, object_is_sealed) \ | 52 V(OBJECT_IS_SEALED, JSFunction, object_is_sealed) \ |
53 V(OBJECT_KEYS, JSFunction, object_keys) \ | 53 V(OBJECT_KEYS, JSFunction, object_keys) \ |
| 54 V(REGEXP_INTERNAL_MATCH, JSFunction, regexp_internal_match) \ |
54 V(REFLECT_APPLY_INDEX, JSFunction, reflect_apply) \ | 55 V(REFLECT_APPLY_INDEX, JSFunction, reflect_apply) \ |
55 V(REFLECT_CONSTRUCT_INDEX, JSFunction, reflect_construct) \ | 56 V(REFLECT_CONSTRUCT_INDEX, JSFunction, reflect_construct) \ |
56 V(REFLECT_DEFINE_PROPERTY_INDEX, JSFunction, reflect_define_property) \ | 57 V(REFLECT_DEFINE_PROPERTY_INDEX, JSFunction, reflect_define_property) \ |
57 V(REFLECT_DELETE_PROPERTY_INDEX, JSFunction, reflect_delete_property) \ | 58 V(REFLECT_DELETE_PROPERTY_INDEX, JSFunction, reflect_delete_property) \ |
58 V(SPREAD_ARGUMENTS_INDEX, JSFunction, spread_arguments) \ | 59 V(SPREAD_ARGUMENTS_INDEX, JSFunction, spread_arguments) \ |
59 V(SPREAD_ITERABLE_INDEX, JSFunction, spread_iterable) \ | 60 V(SPREAD_ITERABLE_INDEX, JSFunction, spread_iterable) \ |
60 V(MATH_FLOOR_INDEX, JSFunction, math_floor) \ | 61 V(MATH_FLOOR_INDEX, JSFunction, math_floor) \ |
61 V(MATH_POW_INDEX, JSFunction, math_pow) | 62 V(MATH_POW_INDEX, JSFunction, math_pow) |
62 | 63 |
63 #define NATIVE_CONTEXT_IMPORTED_FIELDS(V) \ | 64 #define NATIVE_CONTEXT_IMPORTED_FIELDS(V) \ |
(...skipping 502 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
566 #endif | 567 #endif |
567 | 568 |
568 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); | 569 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); |
569 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); | 570 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); |
570 }; | 571 }; |
571 | 572 |
572 } // namespace internal | 573 } // namespace internal |
573 } // namespace v8 | 574 } // namespace v8 |
574 | 575 |
575 #endif // V8_CONTEXTS_H_ | 576 #endif // V8_CONTEXTS_H_ |
OLD | NEW |