mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-07-21 23:12:01 -07:00
eliminate member-expr-extension irtree/oplist/etc. recomputations; just convert lhs irtree to bytecode and attach that to new expr as a leaf bytecode
This commit is contained in:
@@ -8650,7 +8650,7 @@ E_LOOKUP_RANGE_FUNCTION_DEF(thread)
|
||||
for(U64 extras_idx = 0; extras_idx < extras_count; extras_idx += 1)
|
||||
{
|
||||
U64 out_idx = extras_idx_range.min - idx_range.min + extras_idx;
|
||||
exprs[out_idx] = e_expr_ref_member_access(arena, lhs, str8_lit("call_stack"));
|
||||
exprs[out_idx] = e_expr_irext_member_access(arena, lhs, &lhs_irtree, str8_lit("call_stack"));
|
||||
}
|
||||
scratch_end(scratch);
|
||||
}
|
||||
@@ -8754,7 +8754,7 @@ E_LOOKUP_RANGE_FUNCTION_DEF(target)
|
||||
for(U64 extras_idx = 0; extras_idx < extras_count; extras_idx += 1)
|
||||
{
|
||||
U64 out_idx = extras_idx_range.min - idx_range.min + extras_idx;
|
||||
exprs[out_idx] = e_expr_ref_member_access(arena, lhs, str8_lit("environment"));
|
||||
exprs[out_idx] = e_expr_irext_member_access(arena, lhs, &lhs_irtree, str8_lit("environment"));
|
||||
}
|
||||
scratch_end(scratch);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user