summaryrefslogtreecommitdiff
path: root/src/arch/storage.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2021-08-21 15:07:38 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2021-08-21 15:07:38 (GMT)
commitbae8c01323703d467ed2cce07c8bf8fd70f7816a (patch)
treea4e180f9d82ed3f7312dcf52b4517cb7580b83e5 /src/arch/storage.c
parent9ed9405f37244832570f48b42dced1c92704ba3d (diff)
Define all architecture instructions as serializable.
Diffstat (limited to 'src/arch/storage.c')
-rw-r--r--src/arch/storage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/storage.c b/src/arch/storage.c
index 41fa602..d552ae3 100644
--- a/src/arch/storage.c
+++ b/src/arch/storage.c
@@ -486,7 +486,7 @@ static void g_ins_caching_process_store(GInsCaching *caching, GtkStatusStack *st
instr = g_arch_processor_get_instruction(proc, i);
- caching->status = g_arch_instruction_store(instr, storage, &pbuf);
+ caching->status = g_arch_instruction_store__old(instr, storage, &pbuf);
if (caching->status)
caching->status = g_asm_storage_store_instruction_data(storage, &pbuf, &pos);
@@ -1544,7 +1544,7 @@ GArchInstruction *g_asm_storage_get_instruction_at(GAsmStorage *storage, GBinFor
status = g_asm_storage_load_instruction_data(storage, pbuf, target);
if (status)
- storage->collected[index] = g_arch_instruction_load(storage, format, pbuf);
+ storage->collected[index] = g_arch_instruction_load__old(storage, format, pbuf);
if (storage->collected[index] != NULL)
{