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:
@ -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);
|
||||
|
Reference in New Issue
Block a user