Support super property reference in object methods/accessors (#3940)
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
This commit is contained in:
@@ -331,22 +331,6 @@ parser_stack_iterator_read_uint8 (parser_stack_iterator_t *iterator) /**< iterat
|
||||
return iterator->current_p->bytes[iterator->current_position - 1];
|
||||
} /* parser_stack_iterator_read_uint8 */
|
||||
|
||||
/**
|
||||
* Change last byte of the stack.
|
||||
*/
|
||||
static inline void
|
||||
parser_stack_change_last_uint8 (parser_context_t *context_p, /**< context */
|
||||
uint8_t new_value) /**< new value */
|
||||
{
|
||||
parser_mem_page_t *page_p = context_p->stack.first_p;
|
||||
|
||||
JERRY_ASSERT (page_p != NULL
|
||||
&& context_p->stack_top_uint8 == page_p->bytes[context_p->stack.last_position - 1]);
|
||||
|
||||
page_p->bytes[context_p->stack.last_position - 1] = new_value;
|
||||
context_p->stack_top_uint8 = new_value;
|
||||
} /* parser_stack_change_last_uint8 */
|
||||
|
||||
/**
|
||||
* Parse expression enclosed in parens.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user