Add builtin GeneratorFunction support (#3499)
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
This commit is contained in:
1 parent
e3decffdd3
commit
4a331b2edc
24 files changed
+659
-152
No files matched your search
@@ -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