Remove pseudo array object type from the project (#4643)
A new class type enum is introduced to describe the class of objects. This enum is organized to improve property resolve and GC performance. JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
This commit is contained in:
@@ -39,9 +39,13 @@ typedef enum
|
||||
ECMA_NATIVE_HANDLER_FLAGS_NONE = 0,
|
||||
ECMA_NATIVE_HANDLER_FLAGS_NAME_INITIALIZED = (1 << 0),
|
||||
ECMA_NATIVE_HANDLER_FLAGS_LENGTH_INITIALIZED = (1 << 1),
|
||||
ECMA_NATIVE_HANDLER_FLAGS_PROMISE_ALREADY_RESOLVED = (1 << 2),
|
||||
} ecma_native_handler_flags_t;
|
||||
|
||||
/**
|
||||
* Shift for Promise helper handler function.
|
||||
*/
|
||||
#define ECMA_NATIVE_HANDLER_FLAGS_PROMISE_HELPER_SHIFT 2
|
||||
|
||||
ecma_builtin_handler_t
|
||||
ecma_builtin_handler_get (ecma_native_handler_id_t id);
|
||||
uint8_t
|
||||
|
||||
Reference in New Issue
Block a user