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

Translate shims using MIR #39628

Merged
merged 11 commits into from
Mar 20, 2017
Merged

Translate shims using MIR #39628

merged 11 commits into from
Mar 20, 2017

Commits on Mar 18, 2017

  1. Configuration menu
    Copy the full SHA
    0af3775 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ffee956 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bf80fec View commit details
    Browse the repository at this point in the history
  4. resolve instances to ty::Instance directly

    This removes the duplication between collector, callee, and (eventually)
    MIRI.
    arielb1 committed Mar 18, 2017
    Configuration menu
    Copy the full SHA
    aac5ba5 View commit details
    Browse the repository at this point in the history
  5. refactor away callee::Callee and translate virtual calls through a MI…

    …R shim
    
    These changes are in the same commit to avoid needing to adapt
    meth::trans_object_shim to the new scheme.
    
    One codegen-units test is broken because we instantiate the shims even
    when they are not needed. This will be fixed in the next PR.
    arielb1 committed Mar 18, 2017
    Configuration menu
    Copy the full SHA
    65a4266 View commit details
    Browse the repository at this point in the history
  6. collector: collect functions when they are called/reified

    This avoids the creation of unneeded vtable shims.
    arielb1 committed Mar 18, 2017
    Configuration menu
    Copy the full SHA
    a5e3c3d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e1f3c67 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    2b9fea1 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    26df816 View commit details
    Browse the repository at this point in the history
  10. translate drop glue using MIR

    Drop of arrays is now translated in trans::block in an ugly way that I
    should clean up in a later PR, and does not handle panics in the middle
    of an array drop, but this commit & PR are growing too big.
    arielb1 committed Mar 18, 2017
    Configuration menu
    Copy the full SHA
    f2c7917 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2017

  1. update LLVM

    pick up a fix to LLVM PR29151.
    arielb1 committed Mar 19, 2017
    Configuration menu
    Copy the full SHA
    5dc8548 View commit details
    Browse the repository at this point in the history