Feature #971 ยป iseq.patch
iseq.c (working copy) | ||
---|---|---|
1449 | 1449 |
rb_define_method(rb_cISeq, "disassemble", ruby_iseq_disasm, 0); |
1450 | 1450 |
rb_define_method(rb_cISeq, "to_a", iseq_to_a, 0); |
1451 | 1451 |
rb_define_method(rb_cISeq, "eval", iseq_eval, 0); |
1452 | ||
1453 |
/* disable this feature because there is no verifier. */ |
|
1454 |
/* rb_define_singleton_method(rb_cISeq, "load", iseq_s_load, -1); */ |
|
1455 |
(void)iseq_s_load; |
|
1456 | ||
1452 |
rb_define_singleton_method(rb_cISeq, "load", iseq_s_load, -1); |
|
1457 | 1453 |
rb_define_singleton_method(rb_cISeq, "compile", iseq_s_compile, -1); |
1458 | 1454 |
rb_define_singleton_method(rb_cISeq, "new", iseq_s_compile, -1); |
1459 | 1455 |
rb_define_singleton_method(rb_cISeq, "compile_file", iseq_s_compile_file, -1); |