Remove dead code from `LocalAnalyzer`
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.