Fix type conversion errors in case of TizenRT. (#2572)
JerryScript-DCO-1.0-Signed-off-by: Roland Takacs rtakacs.uszeged@partner.samsung.com
This commit is contained in:
committed by
László Langó
parent
d1860d0e34
commit
ffbd6e6c5c
@@ -2055,7 +2055,7 @@ parser_parse_statements (parser_context_t *context_p) /**< context */
|
||||
|
||||
bool return_with_literal = (context_p->last_cbc_opcode == CBC_PUSH_LITERAL);
|
||||
#ifndef CONFIG_DISABLE_ES2015_CLASS
|
||||
return_with_literal &= !PARSER_IS_CLASS_CONSTRUCTOR_SUPER (context_p->status_flags);
|
||||
return_with_literal = return_with_literal && !PARSER_IS_CLASS_CONSTRUCTOR_SUPER (context_p->status_flags);
|
||||
#endif /* !CONFIG_DISABLE_ES2015_CLASS */
|
||||
|
||||
if (return_with_literal)
|
||||
|
||||
Reference in New Issue
Block a user