simplified the CLASS_LOAD instruction by chaining it with a PUSH instruction. now the class name part of the out-of-class method defintion refers to a normal variable
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-04-13 17:17:15 +09:00
parent 7001476e6d
commit 897042f7f7
5 changed files with 36 additions and 82 deletions

View File

@ -1325,10 +1325,9 @@ enum hcl_bcode_t
HCL_CODE_THROW = 0xDB, /* 219 */
HCL_CODE_POP_INTO_CTXTEMPVAR_X = 0xDC, /* 220 ## */
HCL_CODE_CLASS_LOAD_X = 0xDD, /* 221 ## */
HCL_CODE_CLASS_LOAD_X2 = 0xDE, /* 222 ## */
HCL_CODE_CLASS_LOAD = 0xDD, /* 221 ## */
/* UNUSED - 0xDF - 0xDF */
/* UNUSED - 0xDE - 0xDF */
HCL_CODE_PUSH_CTXTEMPVAR_X = 0xE0, /* 224 ## */
HCL_CODE_CLASS_ENTER = 0xE1, /* 225 ## */