aboutsummaryrefslogtreecommitdiff
path: root/tests/addr.c
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2024-06-29 18:00:51 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2024-06-29 18:00:51 +0300
commit322c7fba3d2f4c9b5b0d78b44feefd38ae44d017 (patch)
treede20ed83ee9231e853cefb46bb8ba60cf65e09dd /tests/addr.c
parentd4c1d32e0aa21677e72c54ed220fdc70cea732c8 (diff)
downloadejit-322c7fba3d2f4c9b5b0d78b44feefd38ae44d017.tar.gz
ejit-322c7fba3d2f4c9b5b0d78b44feefd38ae44d017.zip
continue working through bytecode ops
Diffstat (limited to 'tests/addr.c')
-rw-r--r--tests/addr.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/addr.c b/tests/addr.c
index 472030f..b67eb29 100644
--- a/tests/addr.c
+++ b/tests/addr.c
@@ -2,8 +2,7 @@
#include <assert.h>
#include "do_jit.h"
-int
-main (int argc, char *argv[])
+int main()
{
struct ejit_operand operands[2] = {
EJIT_OPERAND_GPR(0, EJIT_TYPE(long)),
@@ -17,6 +16,8 @@ main (int argc, char *argv[])
ejit_select_compile_func(f, 2, 0, EJIT_USE64(long), do_jit);
- assert(ejit_run_func_2(f, EJIT_ARG(42, long), EJIT_ARG(69, long)) == 111);
+ assert(ejit_run_func_2(f,
+ EJIT_ARG(42, long),
+ EJIT_ARG(69, long)) == 111);
ejit_destroy_func(f);
}