mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
Turn off print of script source in release build (in --show-opcodes mode).
This commit is contained in:
parent
2667281745
commit
86a5cc63c6
@ -1432,7 +1432,14 @@ lexer_init (const char *source, size_t source_size, bool show_opcodes)
|
||||
empty_token.loc = 0;
|
||||
|
||||
saved_token = prev_token = sent_token = empty_token;
|
||||
|
||||
#ifndef JERRY_NDEBUG
|
||||
allow_dump_lines = show_opcodes;
|
||||
#else /* JERRY_NDEBUG */
|
||||
(void) show_opcodes;
|
||||
allow_dump_lines = false;
|
||||
#endif /* JERRY_NDEBUG */
|
||||
|
||||
buffer_size = source_size;
|
||||
lexer_set_source (source);
|
||||
strings_cache = NULL;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user