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

Rollup of 4 pull requests #70402

Closed
wants to merge 14 commits into from

Commits on Mar 23, 2020

  1. add missing visit_consts

    lcnr committed Mar 23, 2020
    Configuration menu
    Copy the full SHA
    513ea64 View commit details
    Browse the repository at this point in the history
  2. add missing const super folds

    lcnr committed Mar 23, 2020
    Configuration menu
    Copy the full SHA
    bda976d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d7ecc8c View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2020

  1. improve normalize cycle error

    lcnr committed Mar 24, 2020
    Configuration menu
    Copy the full SHA
    6c4d5d9 View commit details
    Browse the repository at this point in the history
  2. update mir opt test

    lcnr committed Mar 24, 2020
    Configuration menu
    Copy the full SHA
    11763d4 View commit details
    Browse the repository at this point in the history
  3. Implement Fuse with Option

    The former `done` flag was roughly similar to an `Option` tag, but left
    the possibity of misuse. By using a real `Option`, we can set `None`
    when the iterator is exhausted, removing any way to call it again. We
    also allow niche layout this way, so the `Fuse` may be smaller.
    
    The `FusedIterator` specialization does want to ignore the possibility
    of exhaustion though, so it uses `unsafe { intrinsics::unreachable() }`
    to optimize that branch away. The entire `Fuse` implementation is now
    isolated in its own module to contain that unsafety.
    cuviper committed Mar 24, 2020
    Configuration menu
    Copy the full SHA
    212e6ce View commit details
    Browse the repository at this point in the history
  4. avoid catching InterpError

    RalfJung committed Mar 24, 2020
    Configuration menu
    Copy the full SHA
    7ddd61b View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2020

  1. fix type name typo in doc comments

    InterpCtx => InterpCx 
    (rustc_mir::interpret::InterpCx)
    JOE1994 committed Mar 25, 2020
    Configuration menu
    Copy the full SHA
    bedc358 View commit details
    Browse the repository at this point in the history
  2. run test only on 64bit

    lcnr committed Mar 25, 2020
    Configuration menu
    Copy the full SHA
    f8e3da5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4f429c0 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#70319 - lcnr:issue63695, r=eddyb

    correctly normalize constants
    
    closes rust-lang#70317
    
    implements rust-lang#70125 (comment)
    
    r? eddyb cc @varkor
    Dylan-DPC committed Mar 25, 2020
    Configuration menu
    Copy the full SHA
    f63798a View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#70366 - cuviper:option-fuse, r=dtolnay

    Implement Fuse with Option
    
    The former `done` flag was roughly similar to an `Option` tag, but left
    the possibity of misuse. By using a real `Option`, we can set `None`
    when the iterator is exhausted, removing any way to call it again. We
    also allow niche layout this way, so the `Fuse` may be smaller.
    
    The `FusedIterator` specialization does want to ignore the possibility
    of exhaustion though, so it uses `unsafe { intrinsics::unreachable() }`
    to optimize that branch away. The entire `Fuse` implementation is now
    isolated in its own module to contain that unsafety.
    
    r? @scottmcm
    Dylan-DPC committed Mar 25, 2020
    Configuration menu
    Copy the full SHA
    7b279fa View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#70375 - RalfJung:check-defined-err, r=oli-obk

    avoid catching InterpError
    
    Avoid raising and then capturing `InterpError` for the definedness check.
    
    Cc rust-lang#69297
    r? @oli-obk
    Dylan-DPC committed Mar 25, 2020
    Configuration menu
    Copy the full SHA
    d70af9e View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#70379 - JOE1994:patch-2, r=petrochenkov

    fix incorrect type name in doc comments
    
    Change : `InterpCtx` => `InterpCx`
    (`rustc_mir::interpret::InterpCx`)
    Dylan-DPC committed Mar 25, 2020
    Configuration menu
    Copy the full SHA
    43a4b69 View commit details
    Browse the repository at this point in the history