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
@@ -31,5 +31,8 @@ ecma_completion_value_t run_int_from_pos (opcode_counter_t start_pos,
opcode_t read_opcode (opcode_counter_t counter);
extern ecma_value_t vm_get_this_binding (void);
extern ecma_object_t* vm_get_lex_env (void);
#endif /* VM_H */