Skip to content

Commit f74e65c

Browse files
Remove outdated comment
1 parent a4d0bed commit f74e65c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/librustc_codegen_ssa/mir/analyze.rs

-3
Original file line numberDiff line numberDiff line change
@@ -383,9 +383,6 @@ fn ty_requires_alloca<'a, 'tcx>(
383383
fx: &FunctionCx<'a, 'tcx, impl BuilderMethods<'a, 'tcx>>,
384384
ty: TyAndLayout<'tcx>,
385385
) -> bool {
386-
// Currently, this returns `true` for ADTs that are otherwise small enough to qualify. For
387-
// example, `struct Newtype(i32)`. This way, every type has a single way to extract data
388-
// (gep, extractvalue, etc.).
389386
!fx.cx.is_backend_immediate(ty) && !fx.cx.is_backend_scalar_pair(ty)
390387
}
391388

0 commit comments

Comments
 (0)