ruby--ruby/ujit_codegen.h

14 lines
336 B
C
Raw Normal View History

#ifndef UJIT_CODEGEN_H
#define UJIT_CODEGEN_H 1
#include "stddef.h"
2020-12-16 22:07:18 +00:00
// Code generation function signature
typedef bool (*codegen_fn)(codeblock_t* cb, codeblock_t* ocb, ctx_t* ctx);
2020-12-14 20:57:55 +00:00
uint8_t *ujit_compile_block(const rb_iseq_t *iseq, uint32_t insn_idx, bool gen_entry);
void ujit_init_codegen(void);
#endif // #ifndef UJIT_CODEGEN_H