aboutsummaryrefslogtreecommitdiff
path: root/ops
diff options
context:
space:
mode:
Diffstat (limited to 'ops')
-rw-r--r--ops/common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ops/common.h b/ops/common.h
index 6b124b3..6d3119a 100644
--- a/ops/common.h
+++ b/ops/common.h
@@ -17,9 +17,9 @@ typedef reg_t (*op_call)(reg_t *sp, reg_t a, reg_t x, reg_t y, reg_t o);
#define JUMP(target, sp, a, x, y, o) \
return CALL(target, sp, a, x, y, o);
-#define BRANCH(target, cond, sp, a, x, y, o) \
+#define BRANCH(target, cond, sp, a, x, y, o) \
return ((op_call)((cond) ? (void *)(target) : (void *)&__next_op)) \
- ((sp), (a), (x), (y), (o)); \
+ ((sp), (a), (x), (y), (o)); \
#define DEFINE_OP(name) reg_t _op(reg_t *sp, reg_t a, reg_t x, reg_t y, reg_t o)