Introducing vm_get_this_binding and vm_get_lex_env interfaces for retrieving information about current execution context.
This commit is contained in:
@@ -73,6 +73,9 @@ typedef enum
|
||||
OPCODE_META_TYPE_STRICT_CODE /**< mark of beginning of strict code */
|
||||
} opcode_meta_type;
|
||||
|
||||
/**
|
||||
* Interpreter context
|
||||
*/
|
||||
typedef struct
|
||||
{
|
||||
opcode_counter_t pos; /**< current opcode to execute */
|
||||
|
||||
Reference in New Issue
Block a user