summaryrefslogtreecommitdiff
path: root/mjit_compile.c
blob: a48ae84e4c15f3c44acaabea378ab85ec3e9d6b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/**********************************************************************

  mjit_compile.c - MRI method JIT compiler

  Copyright (C) 2017 Takashi Kokubun <takashikkbn@gmail.com>.

**********************************************************************/

#include "internal.h"
#include "vm_core.h"

/* Compile ISeq to C code in F. Return TRUE if it succeeds to compile. */
int
mjit_compile(FILE *f, const struct rb_iseq_constant_body *body, const char *funcname)
{
    /* TODO: Write your own JIT compiler here. */
    return FALSE;
}