aboutsummaryrefslogtreecommitdiff
path: root/src/runtime.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime.c')
-rw-r--r--src/runtime.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/runtime.c b/src/runtime.c
index 32350e1..6308eb9 100644
--- a/src/runtime.c
+++ b/src/runtime.c
@@ -353,15 +353,15 @@ void vm_print_all(vm_t *vm, FILE *fp)
fputs("----------------------------------------------------------------------"
"----------\n",
fp);
- vm_print_registers(vm, fp);
+ vm_print_program(vm, fp);
fputs("----------------------------------------------------------------------"
"----------\n",
fp);
- vm_print_stack(vm, fp);
+ vm_print_registers(vm, fp);
fputs("----------------------------------------------------------------------"
"----------\n",
fp);
- vm_print_program(vm, fp);
+ vm_print_stack(vm, fp);
fputs("----------------------------------------------------------------------"
"----------\n",
fp);