Project

General

Profile

« Previous | Next » 

Revision 24b1b433

Added by shyouhei (Shyouhei Urabe) almost 7 years ago

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.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e