Integrate JS parser module better with JRT
The fact that the JS parser had been developed as a separate component for a while is still visible from some macros that mirror things from JRT. This patch removes those duplicates and makes the JS parser rely on jrt.h. (The removed macros are: `PARSER_DEBUG`, `PARSER_INLINE`, `PARSER_NOINLINE`.) JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
This commit is contained in:
@@ -33,10 +33,6 @@
|
||||
* @{
|
||||
*/
|
||||
|
||||
#ifndef JERRY_NDEBUG
|
||||
#define PARSER_DEBUG
|
||||
#endif /* !JERRY_NDEBUG */
|
||||
|
||||
#ifndef JERRY_NDEBUG
|
||||
/* Note: This flag is independent from debug mode. */
|
||||
#define PARSER_DUMP_BYTE_CODE
|
||||
@@ -137,11 +133,6 @@ void util_print_literal (lexer_literal_t *);
|
||||
} \
|
||||
}
|
||||
|
||||
/* Other */
|
||||
|
||||
#define PARSER_INLINE inline
|
||||
#define PARSER_NOINLINE __attribute__ ((noinline))
|
||||
|
||||
/**
|
||||
* @}
|
||||
* @}
|
||||
|
||||
Reference in New Issue
Block a user