aboutsummaryrefslogtreecommitdiff
path: root/jerry-core/api/jerry-snapshot.h
diff options
context:
space:
mode:
Diffstat (limited to 'jerry-core/api/jerry-snapshot.h')
-rw-r--r--jerry-core/api/jerry-snapshot.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/jerry-core/api/jerry-snapshot.h b/jerry-core/api/jerry-snapshot.h
index 16194ef7..4f420ff0 100644
--- a/jerry-core/api/jerry-snapshot.h
+++ b/jerry-core/api/jerry-snapshot.h
@@ -41,7 +41,7 @@ typedef struct
/**
* Jerry snapshot format version.
*/
-#define JERRY_SNAPSHOT_VERSION (14u)
+#define JERRY_SNAPSHOT_VERSION (15u)
/**
* Snapshot configuration flags.
@@ -50,6 +50,7 @@ typedef enum
{
/* 8 bits are reserved for dynamic features */
JERRY_SNAPSHOT_HAS_REGEX_LITERAL = (1u << 0), /**< byte code has regex literal */
+ JERRY_SNAPSHOT_HAS_CLASS_LITERAL = (1u << 1), /**< byte code has class literal */
/* 24 bits are reserved for compile time features */
JERRY_SNAPSHOT_FOUR_BYTE_CPOINTER = (1u << 8) /**< compressed pointers are four byte long */
} jerry_snapshot_global_flags_t;