Uh oh!
There was an error while loading. Please reload this page.
Remove the '<->' operator - #6260
Conversation
thestinger
commented
May 6, 2013
The |
graydon
commented
May 7, 2013
needs a rebase |
alexcrichton
commented
May 7, 2013
Should be good to go again |
pcwalton
commented
May 10, 2013
Unfortunately this is bitrotted again :( |
alexcrichton
commented
May 10, 2013
Rebased for now at least, these keep creeping in... |
alexcrichton
commented
May 10, 2013
Well that's unfortunate, right after I pushed I wanted to make sure that the failing test from last time passed, and then I just forgot to check the output an hour later. This time the test actually passes! Perhaps the 5th time's the charm? |
There may be a more efficient implementation of `core::util::swap_ptr`. The issue mentioned using `move_val_init`, but I couldn't figure out what that did, so I just used `copy_memory` a few times instead. I'm not exactly the best at reading LLVM generated by rust, but this does appear to be optimized away just as expected (when possible).
add a couple of ICE testcases Fixesrust-lang#6250Fixesrust-lang#6251Fixesrust-lang#6252Fixesrust-lang#6255Fixesrust-lang#6256 changelog: none
6260: xshell r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
There may be a more efficient implementation of
core::util::swap_ptr. The issue mentioned usingmove_val_init, but I couldn't figure out what that did, so I just usedcopy_memorya few times instead.I'm not exactly the best at reading LLVM generated by rust, but this does appear to be optimized away just as expected (when possible).