Rollup merge of #82213 - est31:slices_for_vecs, r=jyn514
Slices for vecs
This commit is contained in:
commit
199095afc6
1 changed files with 3 additions and 3 deletions
|
@ -61,9 +61,9 @@ impl AsmBuilderMethods<'tcx> for Builder<'a, 'll, 'tcx> {
|
|||
// Default per-arch clobbers
|
||||
// Basically what clang does
|
||||
let arch_clobbers = match &self.sess().target.arch[..] {
|
||||
"x86" | "x86_64" => vec!["~{dirflag}", "~{fpsr}", "~{flags}"],
|
||||
"mips" | "mips64" => vec!["~{$1}"],
|
||||
_ => Vec::new(),
|
||||
"x86" | "x86_64" => &["~{dirflag}", "~{fpsr}", "~{flags}"][..],
|
||||
"mips" | "mips64" => &["~{$1}"],
|
||||
_ => &[],
|
||||
};
|
||||
|
||||
let all_constraints = ia
|
||||
|
|
Loading…
Add table
Reference in a new issue