Skip to content

Commit 4ab2c47

Browse files
committed
Clean up conditions for clobbers
1 parent c513793 commit 4ab2c47

File tree

1 file changed

+1
-5
lines changed
  • src/librustc_trans/trans

1 file changed

+1
-5
lines changed

Diff for: src/librustc_trans/trans/asm.rs

+1-5
Original file line numberDiff line numberDiff line change
@@ -161,11 +161,7 @@ pub fn trans_inline_asm<'blk, 'tcx>(bcx: Block<'blk, 'tcx>, ia: &ast::InlineAsm)
161161
// Default per-arch clobbers
162162
// Basically what clang does
163163

164-
#[cfg(any(target_arch = "arm",
165-
target_arch = "aarch64",
166-
target_arch = "mips",
167-
target_arch = "mipsel",
168-
target_arch = "powerpc"))]
164+
#[cfg(not(any(target_arch = "x86", target_arch = "x86_64")))]
169165
fn get_clobbers() -> String {
170166
"".to_string()
171167
}

0 commit comments

Comments
 (0)