aboutsummaryrefslogtreecommitdiff
path: root/vm/runtime.h
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2023-10-31 21:28:19 +0000
committerAryadev Chavali <aryadev@aryadevchavali.com>2023-10-31 21:28:19 +0000
commit5202dfbb2646cfbfb585f1a00a079438010373e5 (patch)
tree5c4be17d331cc90b12b148556390f1f1010c144d /vm/runtime.h
parentf7f566b106a29b91f2a1651aad2d91b49bdd8e45 (diff)
downloadovm-5202dfbb2646cfbfb585f1a00a079438010373e5.tar.gz
ovm-5202dfbb2646cfbfb585f1a00a079438010373e5.tar.bz2
ovm-5202dfbb2646cfbfb585f1a00a079438010373e5.zip
Remove duplicated code
Diffstat (limited to 'vm/runtime.h')
-rw-r--r--vm/runtime.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/vm/runtime.h b/vm/runtime.h
index 1a03700..2986bda 100644
--- a/vm/runtime.h
+++ b/vm/runtime.h
@@ -52,10 +52,6 @@ typedef struct
} program;
} vm_t;
-#define VM_REG_BYTE(REG) ((REG)&0b11111111)
-#define VM_REG_HWORD(REG) ((REG)&0b11111111111111111111111111111111)
-#define VM_REG_WORD(REG) ((REG))
-
err_t vm_execute(vm_t *);
err_t vm_execute_all(vm_t *);