diff options
author | Koichi Sasada <ko1@atdot.net> | 2019-12-25 14:10:35 +0900 |
---|---|---|
committer | Koichi Sasada <ko1@atdot.net> | 2019-12-25 14:12:33 +0900 |
commit | d9bf9c572f461c282fa6e65833e98bc7d453a66f (patch) | |
tree | 23279ca8875acf9c6f039e5971faf7292bfac8b7 /builtin.c | |
parent | 81e377023c490998a3fec245ca2fb2b3c710c2c6 (diff) |
take care of USE_LAZY_LOAD=1.
On USE_LAZY_LOAD=1, the iseq should be loaded. So rb_iseq_check() is needed. Furthermore, now lazy loading with builtin_function_table is not supported, so it should cancel lazy loading.
Diffstat (limited to 'builtin.c')
-rw-r--r-- | builtin.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -51,7 +51,7 @@ rb_load_with_builtin_functions(const char *feature_name, const struct rb_builtin vm->builtin_function_table = NULL; // exec - rb_iseq_eval(iseq); + rb_iseq_eval(rb_iseq_check(iseq)); } #endif |