Skip to content

Convert intrinsics away from argument modes #3200

Closed
@bblum

Description

@bblum

In middle/typeck/check.rs, middle/trans/foreign.rs, and middle/trans/type_use.rs, several of the intrinsics still use the old argument modes. These are:

reinterpret_cast -- ast::by_ref
addr_of -- ast::by_ref
move_val, move_val_init -- ast::by_mutbl_ref
atomic_* -- ast::by_mutbl_ref
visit_tydesc -- ast::by_ref
frame_address -- ast::by_ref

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-codegenArea: Code generationA-type-systemArea: Type systemC-cleanupCategory: PRs that clean code up or issues documenting cleanup.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions