improving function block and control block handling in the compiler code

This commit is contained in:
2021-04-09 08:22:40 +00:00
parent 8aa9ada771
commit 08149767b5
5 changed files with 128 additions and 53 deletions

View File

@ -3119,13 +3119,19 @@ static int execute (hcl_t* hcl)
}
/* -------------------------------------------------------- */
case HCL_CODE_TRY_CATCH:
LOG_INST_0 (hcl, "try_catch");
case HCL_CODE_TRY_ENTER:
LOG_INST_0 (hcl, "try_enter");
#if 0
if (call_try_catch(hcl) <= -1)
{
supplement_errmsg (hcl, fetched_instruction_pointer);
goto oops;
}
#endif
break;
case HCL_CODE_TRY_EXIT:
LOG_INST_0 (hcl, "try_exit");
break;
case HCL_CODE_THROW: