[ruby-cvs:73701] shyouhei:r66597 (trunk): vm_insnhelper.c: delete unused macros

shyouhei at ruby-lang.org shyouhei at ruby-lang.org
Fri Dec 28 10:06:05 JST 2018


shyouhei	2018-12-28 10:06:04 +0900 (Fri, 28 Dec 2018)

  New Revision: 66597

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66597

  Log:
    vm_insnhelper.c: delete unused macros
    
    - FIXNUM_2_P: moved to vm_insnhelper.c because that is the only
      place this macro is used.
    
    - FLONUM_2_P: ditto.
    
    - FLOAT_HEAP_P: not used anywhere.
    
    - FLOAT_INSTANCE_P: ditto.
    
    - GET_TOS: ditto.
    
    - USE_IC_FOR_SPECIALIZED_METHOD: ditto.
    
    - rb_obj_hidden_p: ditto.
    
    - REG_A: ditto.
    
    - REG_B: ditto.
    
    - GET_CONST_INLINE_CACHE: ditto.
    
    - vm_regan_regtype: moved inside of VM_COLLECT_USAGE_DETAILS
      because that os the only place this enum is used.
    
    - vm_regan_acttype: ditto.
    
    - GET_GLOBAL: used only once.  Removed with replacing that usage.
    
    - SET_GLOBAL: ditto.
    
    - rb_method_definition_create: declaration moved to
      vm_insnhelper.c because that is the only place this declaration
      makes sense.
    
    - rb_method_definition_set: ditto.
    
    - rb_method_definition_eq: ditto.
    
    - rb_make_no_method_exception: ditto.

  Modified files:
    trunk/insns.def
    trunk/vm_insnhelper.c
    trunk/vm_insnhelper.h


More information about the ruby-cvs mailing list