diff --git a/template/prelude.c.tmpl b/template/prelude.c.tmpl index 58453636bf..428c9f4d01 100644 --- a/template/prelude.c.tmpl +++ b/template/prelude.c.tmpl @@ -193,7 +193,7 @@ prelude_eval(VALUE code, VALUE name, int line) }; rb_ast_t *ast = prelude_ast(name, code, line); - rb_iseq_eval(rb_iseq_new_with_opt(&ast->body, name, name, Qnil, INT2FIX(line), + rb_iseq_eval(rb_iseq_new_with_opt(&ast->body, name, name, Qnil, line, NULL, 0, ISEQ_TYPE_TOP, &optimization)); rb_ast_dispose(ast); }