]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #40521 - TimNN:panic-free-shift, r=alexcrichton
authorCorey Farwell <coreyf@rwell.org>
Mon, 20 Mar 2017 00:51:08 +0000 (20:51 -0400)
committerGitHub <noreply@github.com>
Mon, 20 Mar 2017 00:51:08 +0000 (20:51 -0400)
Implemente overflowing_sh* with new unchecked_sh* intrinsics

Also update some 128 bit builtins to not rely on the constant evaluator to avoid checked operations.

Fixes #40508.

cc @nagisa, @alexcrichton

Note: I still have a build running to see if the 128 bit changes worked (unoptimized builds take *forever* to compile), however at least the overflowing builtins no longer reference `core::panicking::panic`.

1  2 
src/libcore/num/mod.rs

Simple merge