Switch from setPrintImmHex to setPrintHexStyle to follow changes from r239263.

llvm-svn: 239310
This commit is contained in:
Oleksiy Vyalov 2015-06-08 17:10:27 +00:00
parent 6f8db0e1a7
commit 37ff6c4207
1 changed files with 2 additions and 2 deletions

View File

@ -534,8 +534,8 @@ DisassemblerLLVMC::LLVMCDisassembler::SetStyle (bool use_hex_immed, HexImmediate
m_instr_printer_ap->setPrintImmHex(use_hex_immed);
switch(hex_style)
{
case eHexStyleC: m_instr_printer_ap->setPrintImmHex(llvm::HexStyle::C); break;
case eHexStyleAsm: m_instr_printer_ap->setPrintImmHex(llvm::HexStyle::Asm); break;
case eHexStyleC: m_instr_printer_ap->setPrintHexStyle(llvm::HexStyle::C); break;
case eHexStyleAsm: m_instr_printer_ap->setPrintHexStyle(llvm::HexStyle::Asm); break;
}
}