0fb1c371d4
Small mir-opt refactor Hopefully-non-controversial changes from some not-ready-yet work that I'd figured I'd submit on their own.
For more information about how rustc works, see the rustc dev guide.