xo-jit: + runtime_binding_path, ++ to activation_record
This commit is contained in:
parent
921c70dcd7
commit
fdc5d46fd7
3 changed files with 86 additions and 8 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue