MIRParser: Move SlotMapping and SourceMgr refs to PFS; NFC
authorMatthias Braun <matze@braunis.de>
Wed, 13 Jul 2016 23:27:50 +0000 (23:27 +0000)
committerMatthias Braun <matze@braunis.de>
Wed, 13 Jul 2016 23:27:50 +0000 (23:27 +0000)
commite35861d67b8b5629bbef8db3367a0a9d6f38ff91
tree91088a8e643b99681aeb4616b774dc7eec6ada43
parentbe837fa40f12543ea4120cdd09ffcfc2535b13c5
MIRParser: Move SlotMapping and SourceMgr refs to PFS; NFC

Code cleanup: Move references to SlotMapping and SourceMgr into the
PerFunctionMIParsingState to avoid unnecessary passing around in
parameters.

llvm-svn: 275342
llvm/lib/CodeGen/MIRParser/MIParser.cpp
llvm/lib/CodeGen/MIRParser/MIParser.h
llvm/lib/CodeGen/MIRParser/MIRParser.cpp