writing the compiler code for class variable handling
This commit is contained in:
29
lib/decode.c
29
lib/decode.c
@ -501,19 +501,36 @@ int hcl_decode (hcl_t* hcl, hcl_oow_t start, hcl_oow_t end)
|
||||
|
||||
/* -------------------------------------------------------- */
|
||||
|
||||
case HCL_CODE_PUSH_CLSVAR_X:
|
||||
case HCL_CODE_PUSH_CLSVAR_I_X:
|
||||
FETCH_PARAM_CODE_TO (hcl, b1);
|
||||
LOG_INST_1 (hcl, "push_clsvar %zu", b1);
|
||||
LOG_INST_1 (hcl, "push_clsvar_i %zu", b1);
|
||||
break;
|
||||
|
||||
case HCL_CODE_STORE_INTO_CLSVAR_X:
|
||||
case HCL_CODE_STORE_INTO_CLSVAR_I_X:
|
||||
FETCH_PARAM_CODE_TO (hcl, b1);
|
||||
LOG_INST_1 (hcl, "store_into_clsvar %zu", b1);
|
||||
LOG_INST_1 (hcl, "store_into_clsvar_i %zu", b1);
|
||||
break;
|
||||
|
||||
case HCL_CODE_POP_INTO_CLSVAR_X:
|
||||
case HCL_CODE_POP_INTO_CLSVAR_I_X:
|
||||
FETCH_PARAM_CODE_TO (hcl, b1);
|
||||
LOG_INST_1 (hcl, "pop_into_clsvar %zu", b1);
|
||||
LOG_INST_1 (hcl, "pop_into_clsvar_i %zu", b1);
|
||||
break;
|
||||
|
||||
/* -------------------------------------------------------- */
|
||||
|
||||
case HCL_CODE_PUSH_CLSVAR_M_X:
|
||||
FETCH_PARAM_CODE_TO (hcl, b1);
|
||||
LOG_INST_1 (hcl, "push_clsvar_m %zu", b1);
|
||||
break;
|
||||
|
||||
case HCL_CODE_STORE_INTO_CLSVAR_M_X:
|
||||
FETCH_PARAM_CODE_TO (hcl, b1);
|
||||
LOG_INST_1 (hcl, "store_into_clsvar_m %zu", b1);
|
||||
break;
|
||||
|
||||
case HCL_CODE_POP_INTO_CLSVAR_M_X:
|
||||
FETCH_PARAM_CODE_TO (hcl, b1);
|
||||
LOG_INST_1 (hcl, "pop_into_clsvar_m %zu", b1);
|
||||
break;
|
||||
|
||||
/* -------------------------------------------------------- */
|
||||
|
Reference in New Issue
Block a user