Free three parser status flag bits. (#3451)

The operations covered by these bits can be done in a different way.

JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
This commit is contained in:
Zoltan Herczeg
2019-12-17 11:43:37 +01:00
committed by Dániel Bátyai
parent 0428b51e35
commit d0b4e7dd04
6 changed files with 55 additions and 57 deletions
+2 -2
View File
@@ -2407,9 +2407,9 @@ lexer_construct_function_object (parser_context_t *context_p, /**< context */
parser_flush_cbc (context_p);
if (context_p->status_flags & (PARSER_RESOLVE_BASE_FOR_CALLS | PARSER_INSIDE_WITH))
if (context_p->status_flags & PARSER_INSIDE_WITH)
{
extra_status_flags |= PARSER_RESOLVE_BASE_FOR_CALLS;
extra_status_flags |= PARSER_INSIDE_WITH;
}
literal_p = (lexer_literal_t *) parser_list_append (context_p, &context_p->literal_pool);