diff options
| author | Amanieu d'Antras <amanieu@gmail.com> | 2021-03-24 04:52:57 +0000 |
|---|---|---|
| committer | Amanieu d'Antras <amanieu@gmail.com> | 2021-03-25 13:12:29 +0000 |
| commit | 5dabc80796822c80223a2e51dcd8cd3c752dd6d9 (patch) | |
| tree | 4004f49f49c1fbca1ae928477f5568e875a7b65d /compiler/rustc_session/src | |
| parent | 2bd94f4aa9683158c7df96b9661be193c39a55ed (diff) | |
| download | rust-5dabc80796822c80223a2e51dcd8cd3c752dd6d9.tar.gz rust-5dabc80796822c80223a2e51dcd8cd3c752dd6d9.zip | |
Refactor #82270 as lint instead of an error
Diffstat (limited to 'compiler/rustc_session/src')
| -rw-r--r-- | compiler/rustc_session/src/session.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/compiler/rustc_session/src/session.rs b/compiler/rustc_session/src/session.rs index fc57b6b8ace..4f611118360 100644 --- a/compiler/rustc_session/src/session.rs +++ b/compiler/rustc_session/src/session.rs @@ -793,13 +793,6 @@ impl Session { } } - pub fn inline_asm_dialect(&self) -> rustc_ast::LlvmAsmDialect { - match self.asm_arch { - Some(InlineAsmArch::X86 | InlineAsmArch::X86_64) => rustc_ast::LlvmAsmDialect::Intel, - _ => rustc_ast::LlvmAsmDialect::Att, - } - } - pub fn relocation_model(&self) -> RelocModel { self.opts.cg.relocation_model.unwrap_or(self.target.relocation_model) } |
