@@ -120,59 +120,39 @@ typedef uint32_t ecma_value_t;
120
120
typedef enum
121
121
{
122
122
ECMA_INTERNAL_PROPERTY_CLASS , /**< [[Class]] */
123
- ECMA_INTERNAL_PROPERTY_PROTOTYPE , /**< [[Prototype]] */
124
- ECMA_INTERNAL_PROPERTY_EXTENSIBLE , /**< [[Extensible]] */
125
123
ECMA_INTERNAL_PROPERTY_SCOPE , /**< [[Scope]] */
126
124
ECMA_INTERNAL_PROPERTY_PARAMETERS_MAP , /**< [[ParametersMap]] */
127
- ECMA_INTERNAL_PROPERTY_CODE_BYTECODE , /**< first part of [[Code]] - compressed pointer to bytecode array */
125
+ ECMA_INTERNAL_PROPERTY_CODE_BYTECODE , /**< pointer to compact bytecode array */
126
+ ECMA_INTERNAL_PROPERTY_REGEXP_BYTECODE , /**< pointer to RegExp bytecode array */
127
+
128
128
ECMA_INTERNAL_PROPERTY_NATIVE_CODE , /**< native handler location descriptor */
129
129
ECMA_INTERNAL_PROPERTY_NATIVE_HANDLE , /**< native handle associated with an object */
130
130
ECMA_INTERNAL_PROPERTY_FREE_CALLBACK , /**< object's native free callback */
131
131
ECMA_INTERNAL_PROPERTY_PRIMITIVE_STRING_VALUE , /**< [[Primitive value]] for String objects */
132
132
ECMA_INTERNAL_PROPERTY_PRIMITIVE_NUMBER_VALUE , /**< [[Primitive value]] for Number objects */
133
133
ECMA_INTERNAL_PROPERTY_PRIMITIVE_BOOLEAN_VALUE , /**< [[Primitive value]] for Boolean objects */
134
134
135
- /** Part of an array, that is indexed by numbers */
136
- ECMA_INTERNAL_PROPERTY_NUMBER_INDEXED_ARRAY_VALUES ,
137
-
138
- /** Part of an array, that is indexed by strings */
139
- ECMA_INTERNAL_PROPERTY_STRING_INDEXED_ARRAY_VALUES ,
140
-
141
- /** Implementation-defined identifier of built-in object */
142
- ECMA_INTERNAL_PROPERTY_BUILT_IN_ID ,
143
-
144
- /** Implementation-defined identifier of built-in routine
145
- that corresponds to a built-in function object
146
- ([[Built-in routine's description]]) */
147
- ECMA_INTERNAL_PROPERTY_BUILT_IN_ROUTINE_DESC ,
148
-
149
- /** Identifier of implementation-defined extension object */
150
- ECMA_INTERNAL_PROPERTY_EXTENSION_ID ,
151
-
152
135
/** Bound function internal properties **/
153
136
ECMA_INTERNAL_PROPERTY_BOUND_FUNCTION_TARGET_FUNCTION ,
154
137
ECMA_INTERNAL_PROPERTY_BOUND_FUNCTION_BOUND_THIS ,
155
138
ECMA_INTERNAL_PROPERTY_BOUND_FUNCTION_BOUND_ARGS ,
156
139
157
- /**
158
- * Bit-mask of non-instantiated built-in's properties (bits 0-31)
159
- */
160
- ECMA_INTERNAL_PROPERTY_NON_INSTANTIATED_BUILT_IN_MASK_0_31 ,
140
+ ECMA_INTERNAL_PROPERTY_BUILT_IN_ID , /**< Implementation-defined identifier of built-in object */
161
141
162
- /**
163
- * Bit-mask of non-instantiated built-in's properties (bits 32-63)
164
- */
165
- ECMA_INTERNAL_PROPERTY_NON_INSTANTIATED_BUILT_IN_MASK_32_63 ,
142
+ ECMA_INTERNAL_PROPERTY_BUILT_IN_ROUTINE_DESC , /**< Implementation-defined identifier of built-in routine
143
+ * that corresponds to a built-in function object
144
+ * ([[Built-in routine's description]])
145
+ */
166
146
167
- /**
168
- * RegExp bytecode array
169
- */
170
- ECMA_INTERNAL_PROPERTY_REGEXP_BYTECODE ,
147
+ ECMA_INTERNAL_PROPERTY_NON_INSTANTIATED_BUILT_IN_MASK_0_31 , /**< Bit-mask of non-instantiated
148
+ * built-in's properties (bits 0-31)
149
+ */
171
150
172
- /**
173
- * Number of internal properties' types
174
- */
175
- ECMA_INTERNAL_PROPERTY__COUNT
151
+ ECMA_INTERNAL_PROPERTY_NON_INSTANTIATED_BUILT_IN_MASK_32_63 , /**< Bit-mask of non-instantiated
152
+ * built-in's properties (bits 32-63)
153
+ */
154
+
155
+ ECMA_INTERNAL_PROPERTY__COUNT /**< Number of internal properties' types */
176
156
} ecma_internal_property_id_t ;
177
157
178
158
/**
0 commit comments