Support getting script object in the backtrace callback. (#4789)

JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
This commit is contained in:
Zoltan Herczeg
2021-10-06 11:09:01 +02:00
committed by GitHub
parent 54b1a3c739
commit d98ff6fd30
5 changed files with 57 additions and 13 deletions
+1 -1
View File
@@ -479,7 +479,7 @@ typedef enum
VM_EXEC_CONSTRUCT, /**< construct a new object */
} vm_call_operation;
ecma_value_t vm_run_global (const ecma_compiled_code_t *bytecode_p);
ecma_value_t vm_run_global (const ecma_compiled_code_t *bytecode_p, ecma_object_t *function_object_p);
ecma_value_t vm_run_eval (ecma_compiled_code_t *bytecode_data_p, uint32_t parse_opts);
#if JERRY_MODULE_SYSTEM