Remove the DisasmEnabled AsmPrinter variable and just look it
authorEric Christopher <echristo@gmail.com>
Thu, 19 Feb 2015 01:10:49 +0000 (01:10 +0000)
committerEric Christopher <echristo@gmail.com>
Thu, 19 Feb 2015 01:10:49 +0000 (01:10 +0000)
commit2b8ccbf2ad876c31c389f3954893cca85c08b205
tree4fb9440683606fb12f215be89785c80a7b681e3f
parentd93ca09fe007d71efb2ff58a16edd894de5be03a
Remove the DisasmEnabled AsmPrinter variable and just look it
up on the subtarget where it's set anyhow than looking it up
2-3 times in the same place.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229802 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/AMDGPUAsmPrinter.cpp
lib/Target/R600/AMDGPUAsmPrinter.h
lib/Target/R600/AMDGPUMCInstLower.cpp