add opcode for swapping top two values on the stack

This commit is contained in:
Nikita Smith
2025-10-02 18:19:42 -07:00
parent 48c7e45535
commit 954633bba2
4 changed files with 14 additions and 4 deletions
+2 -1
View File
@@ -58,7 +58,7 @@ sizeof(RDI_NameMapNode),
sizeof(RDI_U8),
};
RDI_U16 rdi_eval_op_ctrlbits_table[52] =
RDI_U16 rdi_eval_op_ctrlbits_table[53] =
{
RDI_EVAL_CTRLBITS(0, 0, 0),
RDI_EVAL_CTRLBITS(0, 0, 0),
@@ -111,6 +111,7 @@ RDI_EVAL_CTRLBITS(1, 1, 1),
RDI_EVAL_CTRLBITS(4, 0, 0),
RDI_EVAL_CTRLBITS(4, 0, 0),
RDI_EVAL_CTRLBITS(8, 0, 0),
RDI_EVAL_CTRLBITS(0, 2, 2),
RDI_EVAL_CTRLBITS(0, 0, 0),
};