summaryrefslogtreecommitdiff
path: root/yjit_codegen.c
diff options
context:
space:
mode:
authorJohn Hawthorn <john@hawthorn.email>2021-09-14 08:57:55 -0700
committerAlan Wu <XrXr@users.noreply.github.com>2021-10-20 18:19:40 -0400
commitfd10634b1abb3deeb50a1f09a41404af24cd25d7 (patch)
tree7a9cf7884f8abb57a74aeb20a693e1c05e1ea640 /yjit_codegen.c
parentbd8cfb351b8a286af947d0a7c0431026751756cf (diff)
Move forward declaration up
Diffstat (limited to 'yjit_codegen.c')
-rw-r--r--yjit_codegen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/yjit_codegen.c b/yjit_codegen.c
index 56a740b8ad..6bcf5c3fb5 100644
--- a/yjit_codegen.c
+++ b/yjit_codegen.c
@@ -740,6 +740,8 @@ yjit_gen_block(block_t *block, rb_execution_context_t *ec)
}
}
+static codegen_status_t gen_opt_send_without_block(jitstate_t *jit, ctx_t *ctx);
+
static codegen_status_t
gen_nop(jitstate_t* jit, ctx_t* ctx)
{
@@ -2008,8 +2010,6 @@ gen_equality_specialized(jitstate_t* jit, ctx_t* ctx, uint8_t *side_exit)
}
}
-static codegen_status_t gen_opt_send_without_block(jitstate_t *jit, ctx_t *ctx);
-
static codegen_status_t
gen_opt_eq(jitstate_t* jit, ctx_t* ctx)
{