Fix failing AsyncFunction tests in test262-esnext (#4545)

JerryScript-DCO-1.0-Signed-off-by: Peter Marki marpeter@inf.u-szeged.hu
This commit is contained in:
Peter Marki
2021-02-02 12:35:58 +01:00
committed by GitHub
parent 748e1be041
commit 090b6307a6
3 changed files with 7 additions and 8 deletions
+1 -1
View File
@@ -907,11 +907,11 @@ typedef enum
/* The following functions cannot be constructed (see CBC_FUNCTION_IS_CONSTRUCTABLE) */
CBC_FUNCTION_SCRIPT, /**< script (global) function */
CBC_FUNCTION_GENERATOR, /**< generator function */
CBC_FUNCTION_ASYNC, /**< async function */
CBC_FUNCTION_ASYNC_GENERATOR, /**< async generator function */
/* The following functions has no prototype (see CBC_FUNCTION_HAS_PROTOTYPE) */
CBC_FUNCTION_ACCESSOR, /**< property accessor function */
CBC_FUNCTION_ASYNC, /**< async function */
CBC_FUNCTION_METHOD, /**< method */
/* The following functions are arrow function (see CBC_FUNCTION_IS_ARROW) */