Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

abi: add AddressSpace field to Primitive::Pointer #107248

Merged
merged 3 commits into from
Jan 26, 2023

Commits on Jan 23, 2023

  1. rustc_abi: remove Primitive::{is_float,is_int}

    there were fixmes for this already
    
    i am about to remove is_ptr (since callers need to properly distinguish
    between pointers in different address spaces), so might as well do this
    at the same time
    erikdesjardins committed Jan 23, 2023
    Configuration menu
    Copy the full SHA
    96f8f99 View commit details
    Browse the repository at this point in the history
  2. abi: add AddressSpace field to Primitive::Pointer

    ...and remove it from `PointeeInfo`, which isn't meant for this.
    
    There are still various places (marked with FIXMEs) that assume all pointers
    have the same size and alignment. Fixing this requires parsing non-default
    address spaces in the data layout string, which will be done in a followup.
    erikdesjardins committed Jan 23, 2023
    Configuration menu
    Copy the full SHA
    009192b View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2023

  1. Configuration menu
    Copy the full SHA
    adc1890 View commit details
    Browse the repository at this point in the history