Skip to content

Commit

Permalink
Clean up conditions for clobbers
Browse files Browse the repository at this point in the history
  • Loading branch information
richo committed Jan 14, 2015
1 parent c513793 commit 4ab2c47
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/librustc_trans/trans/asm.rs
Expand Up @@ -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()
}
Expand Down

0 comments on commit 4ab2c47

Please sign in to comment.