Remove ES_NEXT macro (#4915)
- remove all '#JERRY_ESNEXT' macro - remove 5.1 build profile, update test runner accordingly (Note: all builtins are turn on by default) - move tests from tests/jerry/esnext into tests/jerry, concatenate files with same names - add skiplist to some snapshot tests that were supported only in 5.1 - fix doxygen issues that were hidden before (bc. of es.next macro) Co-authored-by: Martin Negyokru negyokru@inf.u-szeged.hu JerryScript-DCO-1.0-Signed-off-by: Adam Szilagyi aszilagy@inf.u-szeged.hu
This commit is contained in:
@@ -16,22 +16,21 @@
|
||||
#ifndef ECMA_BUILTIN_HANDLERS_H
|
||||
#define ECMA_BUILTIN_HANDLERS_H
|
||||
|
||||
#include "ecma-globals.h"
|
||||
|
||||
#if JERRY_ESNEXT
|
||||
|
||||
#include "ecma-builtins.h"
|
||||
#include "ecma-globals.h"
|
||||
#include "ecma-helpers.h"
|
||||
#include "ecma-promise-object.h"
|
||||
#include "ecma-proxy-object.h"
|
||||
|
||||
typedef enum
|
||||
{
|
||||
/** @cond doxygen_suppress */
|
||||
ECMA_NATIVE_HANDLER_START = 0,
|
||||
#define ECMA_NATIVE_HANDLER(id, handler, length) id,
|
||||
#include "ecma-builtin-handlers.inc.h"
|
||||
#undef ECMA_NATIVE_HANDLER
|
||||
ECMA_NATIVE_HANDLER__COUNT
|
||||
/** @endcond */
|
||||
} ecma_native_handler_id_t;
|
||||
|
||||
typedef enum
|
||||
@@ -49,6 +48,4 @@ typedef enum
|
||||
ecma_builtin_handler_t ecma_builtin_handler_get (ecma_native_handler_id_t id);
|
||||
uint8_t ecma_builtin_handler_get_length (ecma_native_handler_id_t id);
|
||||
|
||||
#endif /* JERRY_ESNEXT */
|
||||
|
||||
#endif /* !ECMA_BUILTIN_HANDLERS_H */
|
||||
|
||||
Reference in New Issue
Block a user