implemented multiple return values assignment with set-r

This commit is contained in:
2021-05-15 05:31:36 +00:00
parent ebda2ffa0a
commit b1f7ab6538
5 changed files with 189 additions and 19 deletions

View File

@ -283,15 +283,23 @@ struct hcl_cframe_t
union
{
/* COP_COMPILE_OBJECT_R */
struct
{
hcl_ooi_t nrets;
} obj_r;
/* COP_EMIT_CALL */
struct
{
hcl_ooi_t index;
hcl_ooi_t nrets;
} call;
/* COP_EMIT_SET */
struct
{
int pop;
int var_type;
hcl_ooi_t index;
} set;