Add builtin GeneratorFunction support (#3499)
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
This commit is contained in:
@@ -229,6 +229,8 @@ struct jerry_context_t
|
||||
* * Any other valid function object pointer: the current "new.target" is valid and it is constructor call.
|
||||
*/
|
||||
ecma_object_t *current_new_target;
|
||||
ecma_object_t *current_function_obj_p; /** currently invoked function object
|
||||
(Note: currently used only in generator functions) */
|
||||
#endif /* ENABLED (JERRY_ES2015) */
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user