mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-24 20:30:06 +00:00
Fix msvc compiler error in r327498
msvc reports an "illegal indirection" error here. Attempt to appease it with a different initialization syntax. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@327500 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5b113a2c3b
commit
9bb5a07f68
@ -425,7 +425,7 @@ void DIEInteger::EmitValue(const AsmPrinter *Asm, dwarf::Form Form) const {
|
||||
/// SizeOf - Determine size of integer value in bytes.
|
||||
///
|
||||
unsigned DIEInteger::SizeOf(const AsmPrinter *AP, dwarf::Form Form) const {
|
||||
dwarf::FormParams Params({0, 0, dwarf::DWARF32});
|
||||
dwarf::FormParams Params = {0, 0, dwarf::DWARF32};
|
||||
if (AP)
|
||||
Params = {AP->getDwarfVersion(), uint8_t(AP->getPointerSize()),
|
||||
AP->OutStreamer->getContext().getDwarfFormat()};
|
||||
|
Loading…
Reference in New Issue
Block a user