From fd10634b1abb3deeb50a1f09a41404af24cd25d7 Mon Sep 17 00:00:00 2001 From: John Hawthorn Date: Tue, 14 Sep 2021 08:57:55 -0700 Subject: [PATCH] Move forward declaration up --- yjit_codegen.c | 4 ++-- 1 file 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) {