remove unused macros

to fix warnings
This commit is contained in:
Jorge Aparicio
2017-06-01 07:40:50 -05:00
parent 27f95579c9
commit 1b379a495d
2 changed files with 0 additions and 26 deletions

View File

@@ -78,21 +78,6 @@ macro_rules! urem {
}
}
macro_rules! srem {
($sty:ty, $a:expr, $b:expr) => {
unsafe {
let a = $a;
let b = $b;
if b == 0 || (b == -1 && a == $sty::min_value()) {
::core::intrinsics::abort()
} else {
::core::intrinsics::unchecked_rem(a, b)
}
}
}
}
// Hack for LLVM expectations for ABI on windows
#[cfg(all(windows, target_pointer_width="64"))]
#[repr(simd)]