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:
Szilagyi Adam
2022-01-31 16:46:00 +01:00
committed by GitHub
parent 76403606d0
commit 4924f9fd31
973 changed files with 1902 additions and 8240 deletions
+2 -10
View File
@@ -196,7 +196,6 @@ ecma_op_abstract_equality_compare (ecma_value_t x, /**< first operand */
return ecma_make_boolean_value (is_equal);
}
#if JERRY_ESNEXT
if (JERRY_UNLIKELY (ecma_is_value_symbol (x)))
{
if (!ecma_is_value_object (y))
@@ -209,14 +208,10 @@ ecma_op_abstract_equality_compare (ecma_value_t x, /**< first operand */
y ^= x;
x ^= y;
}
#endif /* JERRY_ESNEXT */
JERRY_ASSERT (ecma_is_value_object (x));
if (ecma_is_value_string (y)
#if JERRY_ESNEXT
|| ecma_is_value_symbol (y)
#endif /* JERRY_ESNEXT */
if (ecma_is_value_string (y) || ecma_is_value_symbol (y)
#if JERRY_BUILTIN_BIGINT
|| ecma_is_value_bigint (y)
#endif /* JERRY_BUILTIN_BIGINT */
@@ -254,10 +249,7 @@ bool
ecma_op_strict_equality_compare (ecma_value_t x, /**< first operand */
ecma_value_t y) /**< second operand */
{
if (ecma_is_value_direct (x) || ecma_is_value_direct (y)
#if JERRY_ESNEXT
|| ecma_is_value_symbol (x) || ecma_is_value_symbol (y)
#endif /* JERRY_ESNEXT */
if (ecma_is_value_direct (x) || ecma_is_value_direct (y) || ecma_is_value_symbol (x) || ecma_is_value_symbol (y)
|| ecma_is_value_object (x) || ecma_is_value_object (y))
{
JERRY_ASSERT (!ecma_is_value_direct (x) || ecma_is_value_undefined (x) || ecma_is_value_null (x)