aboutsummaryrefslogtreecommitdiff
path: root/ops/popx.c
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2023-09-07 21:25:36 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2023-09-07 21:25:36 +0300
commit23db5514bf626801c8e752f12171eb45d2598946 (patch)
tree8a5fbd619ddb4d5c22b6c6fb1c1027c1fd2e7af4 /ops/popx.c
parent4d8fdd4288cc3ca5e0a2bd6ac80b725c2ee52118 (diff)
downloadcopyjit-23db5514bf626801c8e752f12171eb45d2598946.tar.gz
copyjit-23db5514bf626801c8e752f12171eb45d2598946.zip
allow fibonacci in jit-comparison
Diffstat (limited to 'ops/popx.c')
-rw-r--r--ops/popx.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ops/popx.c b/ops/popx.c
new file mode 100644
index 0000000..e2b601c
--- /dev/null
+++ b/ops/popx.c
@@ -0,0 +1,6 @@
+#include "common.h"
+
+DEFINE_OP(popx) {
+ UNUSED(x);
+ NEXT_OP(sp - 1, a, *(sp - 1), y, o);
+}