Skip to content

Remove Value::into_runtime_hir_expression #11646

@jfecher

Description

@jfecher

Problem

After #11627, mutable globals are no longer evaluated automatically for their final value at time of monomorphization.

Happy Case

Since evaluating globals for monomorphization was the only non-test usecase of Value::into_runtime_hir_expression, we should be able to remove that method now.

We will still want to replace the value of globals with their evaluated value, but this should be able to be done during elaboration now that it should only be for non-comptime globals.

Workaround

None

Workaround Description

No response

Additional Context

No response

Project Impact

None

Blocker Context

No response

Would you like to submit a PR for this Issue?

None

Support Needs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions