...
|
...
|
@@ -1213,6 +1213,10 @@ int cli_vm_execute(const struct cli_bc *bc, struct cli_bc_ctx *ctx, const struct
|
1213
|
1213
|
cli_dbgmsg("intepreter bytecode run finished in %luus, after executing %u opcodes\n",
|
1214
|
1214
|
tv1.tv_sec*1000000 + tv1.tv_usec, pc);
|
1215
|
1215
|
}
|
|
1216
|
+ if (stop == CL_EBYTECODE) {
|
|
1217
|
+ cli_event_error_str(ctx->bc_events, "interpreter finished with error\n");
|
|
1218
|
+ cli_dbgmsg("intepreter finished with error\n");
|
|
1219
|
+ }
|
1216
|
1220
|
|
1217
|
1221
|
cli_stack_destroy(&stack);
|
1218
|
1222
|
free(ptrinfos.stack_infos);
|