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

Avoid deref/ref cycles for no-op coercions between unsafe pointers #26336

Merged
merged 1 commit into from
Jun 18, 2015

Commits on Jun 16, 2015

  1. Avoid deref/ref cycles for no-op coercions between unsafe pointers

    Unlike coercing from reference to unsafe pointer, coercing between two
    unsafe pointers doesn't need an AutoDerefRef, because there is no region
    that regionck would need to know about.
    
    In unoptimized libcore, this reduces the number of "auto_deref" allocas
    from 174 to 4.
    dotdash committed Jun 16, 2015
    Configuration menu
    Copy the full SHA
    cabd068 View commit details
    Browse the repository at this point in the history