xo-expression2: DLambdaExpr: bugfix: GC suport for body_expr_
Was using &body_expr_ instead of &body_expr_.data_. Replace with less dangerous forward_pivot_inplace() convenience call
This commit is contained in:
parent
c9d78372c8
commit
34c87dc1e6
1 changed files with 3 additions and 2 deletions
|
|
@ -169,8 +169,9 @@ namespace xo {
|
|||
}
|
||||
|
||||
{
|
||||
auto iface = body_expr_.to_facet<AGCObject>().iface();
|
||||
gc.forward_inplace(iface, (void **)(&body_expr_));
|
||||
gc.forward_pivot_inplace(&body_expr_);
|
||||
//auto iface = body_expr_.to_facet<AGCObject>().iface();
|
||||
//gc.forward_inplace(iface, (void **)&(body_expr_.data_));
|
||||
}
|
||||
|
||||
// xxx free_var_set
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue