]> granicus.if.org Git - llvm/commit
MIRParser: Move MachineFunction reference into PFS; NFC
authorMatthias Braun <matze@braunis.de>
Wed, 13 Jul 2016 22:23:23 +0000 (22:23 +0000)
committerMatthias Braun <matze@braunis.de>
Wed, 13 Jul 2016 22:23:23 +0000 (22:23 +0000)
commit13b86678de0a06ef553e757ab6b7e912cd1d8771
tree0308c714a2e42da4ad576611a34675bd1816b94f
parentd7903640ac23846fb1250e74e1dabb4b956dae35
MIRParser: Move MachineFunction reference into PFS; NFC

Code cleanup: The PerFunctionMIParsingState is per function, moving a
reference into PFS we can avoid passing around the MachineFunction in an
extra parameter most of the time.

Also change most signatures to consistently pass PFS reference first.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@275329 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MIRParser/MIParser.cpp
lib/CodeGen/MIRParser/MIParser.h
lib/CodeGen/MIRParser/MIRParser.cpp