Skip to content

relax impure effect checking #182

Closed
Closed
@graydon

Description

@graydon

The current effect checking pass adds the impure effect to any write to a non-local slot, including interior fields of a local slot. We can do better. At very least accept writes to local slots that don't traverse heap pointers; possibly try to do escape analysis and permit writes to non-escaping heap pointers.

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