Skip to content

Commit 42e3705

Browse files
committed
Fix rebase
1 parent 4d66cd8 commit 42e3705

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

src/abi.rs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -153,21 +153,6 @@ impl<'gcc, 'tcx> FnAbiGccExt<'gcc, 'tcx> for FnAbi<'tcx, Ty<'tcx>> {
153153
ty
154154
};
155155

156-
#[cfg(feature = "master")]
157-
let apply_attrs = |ty: Type<'gcc>, attrs: &ArgAttributes| {
158-
if cx.sess().opts.optimize != config::OptLevel::No
159-
&& attrs.regular.contains(rustc_target::abi::call::ArgAttribute::NoAlias)
160-
{
161-
ty.make_restrict()
162-
} else {
163-
ty
164-
}
165-
};
166-
#[cfg(not(feature = "master"))]
167-
let apply_attrs = |ty: Type<'gcc>, _attrs: &ArgAttributes| {
168-
ty
169-
};
170-
171156
for arg in self.args.iter() {
172157
let arg_ty = match arg.mode {
173158
PassMode::Ignore => continue,

0 commit comments

Comments
 (0)