mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
Convert long_const_operation to use gdb_mpz
This changes long_const_operation to use gdb_mpz for its storage.
This commit is contained in:
@@ -10590,10 +10590,10 @@ ada_char_operation::replace (operation_up &&owner,
|
||||
|
||||
if (context_type != nullptr && context_type->code () == TYPE_CODE_ENUM)
|
||||
{
|
||||
LONGEST val = as_longest ();
|
||||
gdb_assert (result.get () == this);
|
||||
std::get<0> (m_storage) = context_type;
|
||||
std::get<1> (m_storage)
|
||||
= convert_char_literal (context_type, std::get<1> (m_storage));
|
||||
std::get<1> (m_storage) = convert_char_literal (context_type, val);
|
||||
}
|
||||
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user