summaryrefslogtreecommitdiff
path: root/builtin.h
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-03-07 23:14:07 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2023-03-07 23:16:24 -0800
commite93e780f3d37705a26a9160c60cc92255c1ff60a (patch)
treefcaee4606e3ba755cb1c560f8e1ce4db0385d37d /builtin.h
parentb67f07fa2c5b7fe9a08563bbc8084401b2ec68c4 (diff)
downloadruby-e93e780f3d37705a26a9160c60cc92255c1ff60a.tar.gz
Remove MJIT's builtin function compiler
Diffstat (limited to 'builtin.h')
-rw-r--r--builtin.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/builtin.h b/builtin.h
index 38ad5a1629..85fd1a009a 100644
--- a/builtin.h
+++ b/builtin.h
@@ -11,17 +11,13 @@ struct rb_builtin_function {
// for load
const int index;
const char * const name;
-
- // for jit
- void (*compiler)(VALUE, long, unsigned, bool);
};
-#define RB_BUILTIN_FUNCTION(_i, _name, _fname, _arity, _compiler) {\
+#define RB_BUILTIN_FUNCTION(_i, _name, _fname, _arity) {\
.name = _i < 0 ? NULL : #_name, \
.func_ptr = (void *)_fname, \
.argc = _arity, \
.index = _i, \
- .compiler = _compiler, \
}
void rb_load_with_builtin_functions(const char *feature_name, const struct rb_builtin_function *table);