Project

General

Profile

Actions

Feature #10565

closed

[cleanup] remove unused rb_iseq_new_with_bopt

Added by normalperson (Eric Wong) about 10 years ago. Updated about 10 years ago.

Status:
Closed
Target version:
[ruby-core:66667]

Description

OK to remove? Or is block-inlining to be resurrected in the future?

rb_iseq_new_with_bopt seems unused and block_opt param
in prepare_iseq_build does nothing useful.

  • iseq.c (prepare_iseq_build): remove unused block_opt param
    (rb_iseq_new_with_bopt_and_opt): remove
    (rb_iseq_new_with_opt): inline removed function
    (rb_iseq_new_with_bopt): remove
    (iseq_load): adjust prepare_iseq_build call

Files

Updated by ko1 (Koichi Sasada) about 10 years ago

No problem.
Thanks.

Actions #2

Updated by Anonymous about 10 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

Applied in changeset r48713.


iseq.c: remove unused rb_iseq_new_with_bopt

  • iseq.c (prepare_iseq_build): remove unused block_opt param
    (rb_iseq_new_with_bopt_and_opt): remove
    (rb_iseq_new_with_opt): inline removed function
    (rb_iseq_new_with_bopt): remove
    (iseq_load): adjust prepare_iseq_build call
    [Feature #10565]
Actions

Also available in: Atom PDF

Like0
Like0Like0