You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Put move source locations for parameters into Call/TailCall
Rather than store parameter moves in a separate side structure, which
relies on MIR indexes not changing again, instead move the parameter
move source_info into TerminatorKind::Call/TailCall itself. This keeps
everything together as a parallel array of parameter move information.
If we aren't annotating moves, or no parameters need annotation, then
then remains as None, Otherwise it's a `Box<[Option<SourceInfo>]>`
recording the source location of the annotated parameters.
This ends up touching a lot of files with mostly one line changes just
because of the extra field in the Call/TailCall enums. I changed a lot
of the patterns to use `..` wildcard matching since in many cases most
fields were being skipped.
0 commit comments