Introducing vm_get_this_binding and vm_get_lex_env interfaces for retrieving information about current execution context.

This commit is contained in:
Ruben Ayrapetyan
2015-04-16 14:39:37 +03:00
parent 175f8912b2
commit b451cb3312
3 changed files with 47 additions and 0 deletions
+3
View File
@@ -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 */