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)
commita0b5a74966533bd7df09fedd4e8726eaa118196d
treea917b347afc2dc950530fa5e66fcd2b7a06f25b0
parent262e948d2a1d190a968a74e1e97c00221d0e75bc
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240566 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/DIE.h
lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
lib/CodeGen/AsmPrinter/DIE.cpp
lib/CodeGen/AsmPrinter/DwarfFile.cpp