Reset the Subtarget in the AsmPrinter for each machine function
authorEric Christopher <echristo@gmail.com>
Fri, 18 Jul 2014 00:08:53 +0000 (00:08 +0000)
committerEric Christopher <echristo@gmail.com>
Fri, 18 Jul 2014 00:08:53 +0000 (00:08 +0000)
commitf0b9d0b3ca3e94cecc22da7b95149611be93bcc3
treea80699ae01b65524e2b177852c04298f4cc6751e
parenta1fa640525203a4f87879311f63910b70ce836a5
Reset the Subtarget in the AsmPrinter for each machine function
and add explanatory comment about dual initialization. Fix
use of the Subtarget to grab the information off of the target machine.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213336 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MipsAsmPrinter.cpp
lib/Target/Mips/MipsAsmPrinter.h