[ruby-core:66681] [ruby-trunk - Feature #10565] [cleanup] remove unused rb_iseq_new_with_bopt

From: ko1@...
Date: 2014-12-04 09:37:06 UTC
List: ruby-core #66681
Issue #10565 has been updated by Koichi Sasada.


No problem.
Thanks.

----------------------------------------
Feature #10565: [cleanup] remove unused rb_iseq_new_with_bopt
https://bugs.ruby-lang.org/issues/10565#change-50286

* Author: Eric Wong
* Status: Open
* Priority: Normal
* Assignee: Koichi Sasada
* Category: core
* Target version: current: 2.2.0
----------------------------------------
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--------------------------------
0001-iseq.c-remove-unused-rb_iseq_new_with_bopt.patch (3.24 KB)


-- 
https://bugs.ruby-lang.org/

In This Thread

Prev Next