Rework built-in processing of JerryScript (#4347)
- All built-ins are native functions now - Native handlers have a built-in id: ECMA_BUILTIN_ID_HANDLER - Built-in routine identifiers start from 1 - Built-in routines have an own flag set - Name property of routines is resolved dynamically - Style fixes JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
|
||||
typedef enum
|
||||
{
|
||||
ECMA_NATIVE_HANDLER_START = 0,
|
||||
#define ECMA_NATIVE_HANDLER(id, handler, length) id,
|
||||
#include "ecma-builtin-handlers.inc.h"
|
||||
#undef ECMA_NATIVE_HANDLER
|
||||
|
||||
Reference in New Issue
Block a user