Accessor functions do not have [[Construct]] internal method (#3698)

JerryScript-DCO-1.0-Signed-off-by: Adam Szilagyi aszilagy@inf.u-szeged.hu
This commit is contained in:
Szilagyi Adam
2020-04-29 13:04:57 +02:00
committed by GitHub
parent 62730f2ae1
commit 2bdd0f5008
4 changed files with 44 additions and 2 deletions
+1
View File
@@ -797,6 +797,7 @@ typedef enum
CBC_CODE_FLAGS_REST_PARAMETER = (1u << 12), /**< this function has rest parameter */
CBC_CODE_FLAG_HAS_TAGGED_LITERALS = (1u << 13), /**< this function has tagged template literal list */
CBC_CODE_FLAGS_LEXICAL_BLOCK_NEEDED = (1u << 14), /**< compiled code needs a lexical block */
CBC_CODE_FLAGS_ACCESSOR = (1u << 15) /**< accessor propety 'get' and 'set' functions */
} cbc_code_flags;
/**