xo-jit: + runtime_binding_path, ++ to activation_record

This commit is contained in:
Roland Conybeare 2024-07-05 20:26:07 -04:00
commit fdc5d46fd7
3 changed files with 86 additions and 8 deletions

View file

@ -736,7 +736,7 @@ namespace xo {
/** Actual parameters will need their own activation record.
* Track its shape here.
**/
this->env_stack_.push(activation_record());
this->env_stack_.push(activation_record(lambda.get()));
{
log && log("lambda: stack size Z", xtag("Z", env_stack_.size()));
@ -769,7 +769,7 @@ namespace xo {
* in lambda body.
*
*/
env_stack_.top().alloc_var(arg_name, alloca);
env_stack_.top().alloc_var(i, arg_name, alloca);
++i;
}
}