Optimize property call opcodes (#2609)
In with contexts the object base value must be resolved before executing a call operation. Since this happens rarely the base resolving code paths has been seperated to an other VM opcode so these extra checks do not burden the general property call steps. JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
This commit is contained in:
committed by
Zoltan Herczeg
parent
e11c499b4b
commit
24817b27f9
@@ -1556,6 +1556,8 @@ parser_process_unary_expression (parser_context_t *context_p) /**< context */
|
||||
CBC_PUSH_IDENT_REFERENCE,
|
||||
context_p->last_cbc.third_literal_index);
|
||||
}
|
||||
|
||||
parser_emit_cbc_ext (context_p, CBC_EXT_RESOLVE_BASE);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user