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

jit: correctly load the StableResult discriminant in emit_result_is_err #514

Merged
merged 1 commit into from
Sep 25, 2023

Commits on Sep 25, 2023

  1. jit: correctly load the StableResult discriminant in emit_result_is_err

    StableResult is #[repr(C, u64)] which means that the layout is
    
    [u64 discriminant]
    [union of all the data carried by the variants]
    
    We were accessing the data of the Ok variant.
    alessandrod authored and Lichtso committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    e7bc177 View commit details
    Browse the repository at this point in the history