Merge pull request #5348 from dearblue/optable

Place optable in ROM
This commit is contained in:
Yukihiro "Matz" Matsumoto
2021-02-14 17:49:00 +09:00
committed by GitHub
+1 -1
View File
@@ -1022,7 +1022,7 @@ mrb_vm_exec(mrb_state *mrb, const struct RProc *proc, const mrb_code *pc)
const struct mrb_irep_catch_handler *ch;
#ifdef DIRECT_THREADED
static void *optable[] = {
static const void * const optable[] = {
#define OPCODE(x,_) &&L_OP_ ## x,
#include "mruby/ops.h"
#undef OPCODE