Clean up conditions for clobbers

This commit is contained in:
Richo Healey 2015-01-13 19:01:37 -08:00
parent c51379386c
commit 4ab2c47ce6

View File

@ -161,11 +161,7 @@ pub fn trans_inline_asm<'blk, 'tcx>(bcx: Block<'blk, 'tcx>, ia: &ast::InlineAsm)
// Default per-arch clobbers
// Basically what clang does
#[cfg(any(target_arch = "arm",
target_arch = "aarch64",
target_arch = "mips",
target_arch = "mipsel",
target_arch = "powerpc"))]
#[cfg(not(any(target_arch = "x86", target_arch = "x86_64")))]
fn get_clobbers() -> String {
"".to_string()
}