Compact Byte Code parser and executor for Jerry.
JerryScript-DCO-1.0-Signed-off-by: László Langó llango.u-szeged@partner.samsung.com JerryScript-DCO-1.0-Signed-off-by: Tamas Gergely tgergely.u-szeged@partner.samsung.com JerryScript-DCO-1.0-Signed-off-by: Zsolt Borbély zsborbely.u-szeged@partner.samsung.com JerryScript-DCO-1.0-Signed-off-by: Roland Takacs rtakacs.u-szeged@partner.samsung.com JerryScript-DCO-1.0-Signed-off-by: István Kádár ikadar@inf.u-szeged.hu JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
This commit is contained in:
@@ -32,21 +32,4 @@ jerry_dispatch_object_free_callback (ecma_external_pointer_t, ecma_external_poin
|
||||
extern bool
|
||||
jerry_is_abort_on_fail (void);
|
||||
|
||||
/**
|
||||
* Snapshot header
|
||||
*/
|
||||
typedef struct
|
||||
{
|
||||
uint32_t lit_table_size; /**< size of literal table */
|
||||
uint32_t scopes_num; /**< number of saved bytecode pieces in the snapshot */
|
||||
uint32_t is_run_global : 1; /**< flag, indicating whether the snapshot
|
||||
* was dumped as 'Global scope'-mode code (true)
|
||||
* or as eval-mode code (false) */
|
||||
} jerry_snapshot_header_t;
|
||||
|
||||
/**
|
||||
* Jerry snapshot format version
|
||||
*/
|
||||
#define JERRY_SNAPSHOT_VERSION (2u)
|
||||
|
||||
#endif /* !JERRY_INTERNAL_H */
|
||||
|
||||
Reference in New Issue
Block a user