Skip to content

Find a way to take or drop temporaries without spilling them #1012

Closed
@marijnh

Description

@marijnh

Currently, glue functions take a pointer to a value. This means we're spilling all temporary boxes and unique pointers to the stack just in order to drop them. This is rather wasteful. If we know the type (which we do for all immediates -- generic values are never treated as immediate), we should be able to take and drop without spilling.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions