From ac3f368385ef694c48e61c77ccb593ca4717dc2d Mon Sep 17 00:00:00 2001 From: jiadexiang Date: Wed, 8 Feb 2023 22:09:45 +0800 Subject: [PATCH] Description: improve jerry-core config for compiling IssueNo:I6DTDN Feature or Bugfix: Feature Binary Source:No Signed-off-by: jiadexiang --- jerry-core/config.h | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/jerry-core/config.h b/jerry-core/config.h index 43a131d4..a70b1592 100644 --- a/jerry-core/config.h +++ b/jerry-core/config.h @@ -20,19 +20,42 @@ * Here define the special config for IAR and gn build. */ #if (!defined(_WIN32) && !defined(_WIN64)) - +#ifndef JERRY_BUILTIN_REGEXP # define JERRY_BUILTIN_REGEXP 0 +#endif + +#ifndef JERRY_ES2015 # define JERRY_ES2015 0 +#endif + #ifndef JERRY_NDEBUG # define JERRY_NDEBUG #endif + +#ifndef JERRY_DISABLE_HEAVY_DEBUG # define JERRY_DISABLE_HEAVY_DEBUG +#endif + +#ifndef JERRY_SNAPSHOT_EXEC # define JERRY_SNAPSHOT_EXEC 1 +#endif + +#ifndef JERRY_PARSER # define JERRY_PARSER 1 +#endif + +#ifndef JERRY_ES2015_BUILTIN_TYPEDARRAY # define JERRY_ES2015_BUILTIN_TYPEDARRAY 1 +#endif + #ifndef JERRY_FOR_IAR_CONFIG +#ifndef JERRY_MEM_STATS # define JERRY_MEM_STATS 1 +#endif + +#ifndef JERRY_LOGGING # define JERRY_LOGGING 1 +#endif #endif /* JERRY_FOR_IAR_CONFIG */ #ifndef JERRY_GLOBAL_HEAP_SIZE -- Gitee