Skip to content

Investigate replacing push + static call with tail calls in implicit closure functions #44195

Open
@sstrickl

Description

@sstrickl

After CL 166622 lands for #40813, implicit closure functions no longer perform any internal checking. Instead, they are purely a redirect to the target.

Determine whether there is any value to having frames for implicit closure functions separate from their target. If not, in a followup CL change FlowGraphBuilder::BuildGraphOfImplicitClosureFunction to instead replace the closure on the stack with the receiver for a dynamic target, or adjust the arguments on the stack as necessary for a static target, and perform a tail call.

/cc @mkustermann

Metadata

Metadata

Assignees

Labels

area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.vm-aot-code-sizeRelated to improvements in AOT code size

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions