mirror of
https://github.com/holub/mame
synced 2025-05-03 21:13:18 +03:00
drcbex64,drcbex86: avoid deprecated functions
This commit is contained in:
parent
e0dc885420
commit
5b50e61af3
@ -869,7 +869,7 @@ void drcbe_x64::reset()
|
||||
a.bind(a.newNamedLabel("entry_point"));
|
||||
|
||||
FuncDetail entry_point;
|
||||
entry_point.init(FuncSignatureT<uint32_t, uint8_t *, x86code *>(CallConvId::kHost), Environment::host());
|
||||
entry_point.init(FuncSignature::build<uint32_t, uint8_t *, x86code *>(CallConvId::kHost), Environment::host());
|
||||
|
||||
FuncFrame frame;
|
||||
frame.init(entry_point);
|
||||
@ -1036,7 +1036,7 @@ void drcbe_x64::get_info(drcbe_info &info)
|
||||
|
||||
void drcbe_x64::alu_op_param(Assembler &a, Inst::Id const opcode, Operand const &dst, be_parameter const ¶m, std::function<bool(Assembler &a, Operand const &dst, be_parameter const &src)> optimize)
|
||||
{
|
||||
bool const is64 = dst.size() == 8;
|
||||
bool const is64 = dst.x86RmSize() == 8;
|
||||
|
||||
if (param.is_immediate())
|
||||
{
|
||||
|
@ -668,7 +668,7 @@ void drcbe_x86::reset()
|
||||
a.bind(a.newNamedLabel("entry_point"));
|
||||
|
||||
FuncDetail entry_point;
|
||||
entry_point.init(FuncSignatureT<uint32_t, x86code *>(CallConvId::kHost), Environment::host());
|
||||
entry_point.init(FuncSignature::build<uint32_t, x86code *>(CallConvId::kHost), Environment::host());
|
||||
|
||||
FuncFrame frame;
|
||||
frame.init(entry_point);
|
||||
|
Loading…
Reference in New Issue
Block a user