diff options
author | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2022-09-25 20:45:28 +1300 |
---|---|---|
committer | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2022-09-26 00:41:16 +1300 |
commit | 75cf29f60d87b298edfd75611bfe272a92289cee (patch) | |
tree | a5f69bcc15b1901a258463e16ad3c5d90d545108 /mini_builtin.c | |
parent | a95b741a973438a3ea666b8997efa8194e1fd5e7 (diff) | |
download | ruby-75cf29f60d87b298edfd75611bfe272a92289cee.tar.gz |
Rework `first_lineno` to be `int`.
Diffstat (limited to 'mini_builtin.c')
-rw-r--r-- | mini_builtin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mini_builtin.c b/mini_builtin.c index 8c8cf66263..c263d1ee71 100644 --- a/mini_builtin.c +++ b/mini_builtin.c @@ -36,7 +36,7 @@ builtin_iseq_load(const char *feature_name, const struct rb_builtin_function *ta FALSE, /* unsigned int coverage_enabled; */ 0, /* int debug_level; */ }; - const rb_iseq_t *iseq = rb_iseq_new_with_opt(&ast->body, name_str, name_str, Qnil, INT2FIX(0), NULL, 0, ISEQ_TYPE_TOP, &optimization); + const rb_iseq_t *iseq = rb_iseq_new_with_opt(&ast->body, name_str, name_str, Qnil, 0, NULL, 0, ISEQ_TYPE_TOP, &optimization); GET_VM()->builtin_function_table = NULL; rb_ast_dispose(ast); |