diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2021-08-24 21:53:52 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2021-08-24 21:53:52 (GMT) |
commit | ce46ff64c00a90d03e2481dcaf1e713f22b71492 (patch) | |
tree | 5419bb07b142e34f882478c3f515644f45eaf3ae /src/arch/operands | |
parent | ebc0f829af60263fd5329f1a44f6c1e1162f97af (diff) |
Serialize registers when needed.
Diffstat (limited to 'src/arch/operands')
-rw-r--r-- | src/arch/operands/register.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/operands/register.c b/src/arch/operands/register.c index 9c0a337..8cfe39f 100644 --- a/src/arch/operands/register.c +++ b/src/arch/operands/register.c @@ -338,7 +338,7 @@ static bool g_register_operand_unserialize(GRegisterOperand *operand, GAsmStorag if (result) { - reg = g_arch_register_load(storage, ®_pbuf); + reg = NULL;//g_arch_register_load(storage, ®_pbuf); result = (reg != NULL); } @@ -383,7 +383,7 @@ static bool g_register_operand_serialize(const GRegisterOperand *operand, GAsmSt { init_packed_buffer(®_pbuf); - result = g_arch_register_store(operand->reg, storage, ®_pbuf); + result = false;//g_arch_register_store(operand->reg, storage, ®_pbuf); if (result) result = g_asm_storage_store_register_data(storage, ®_pbuf, &pos); |