AsmPrinter: Cleanup DIEValue::EmitValue() API, NFC
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Wed, 24 Jun 2015 18:48:11 +0000 (18:48 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Wed, 24 Jun 2015 18:48:11 +0000 (18:48 +0000)
commit9dbb5013b75024cefd942921fbbd8fd14bd6f7ab
treebb193c056bbfc5fee7158db2ac7b15e3a9bd024b
parent6345fe3eb380e8e3f8663c1dc633501cf70f7910
AsmPrinter: Cleanup DIEValue::EmitValue() API, NFC

Stop taking a `dwarf::Form` in `DIEValue::EmitValue()` and
`DIEValue::SizeOf()`, since they're always passed `DIEValue::getForm()`
anyway.  This is just left over from when `DIEValue` didn't know its own
form.

llvm-svn: 240566
llvm/include/llvm/CodeGen/DIE.h
llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
llvm/lib/CodeGen/AsmPrinter/DIE.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp