expanded MAKE_FUNCTION and MAKE_LAMBDA to encode literal frame index to name.

expanded hak_context_t to store the name field taken from the compiled block
This commit is contained in:
2025-09-05 22:41:45 +09:00
parent 313d1f9800
commit d8113efc28
20 changed files with 405 additions and 281 deletions

View File

@ -1392,7 +1392,7 @@ int hak_addbuiltinprims (hak_t* hak)
hak_pushvolat(hak, &prim);
name = hak_makesymbol(hak, builtin_prims[i].name, builtin_prims[i].namelen);
hak_popvolat (hak);
hak_popvolat(hak);
if (HAK_UNLIKELY(!name))
{
const hak_ooch_t* orgmsg = hak_backuperrmsg(hak);
@ -1403,7 +1403,7 @@ int hak_addbuiltinprims (hak_t* hak)
hak_pushvolat(hak, &name);
cons = hak_putatsysdic(hak, name, prim);
hak_popvolat (hak);
hak_popvolat(hak);
if (HAK_UNLIKELY(!cons))
{
const hak_ooch_t* orgmsg = hak_backuperrmsg(hak);