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:
Roland Takacs
2018-10-26 14:21:00 +02:00
committed by László Langó
parent d1860d0e34
commit ffbd6e6c5c
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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)