Project

General

Profile

« Previous | Next » 

Revision 8bcf7fc4

Added by ko1 (Koichi Sasada) about 13 years ago

  • vm_core.h: add a data type rb_location_t to store iseq location
    information.
    rb_location_t#filename, filepath, name and line_no was moved from
    rb_iseq_t. rb_location_t#basename is a new field which is
    similar to name' field without any decoration. name' field contains some decoration such as block in foo'. basename' only contains `foo'.
    rb_iseq_t contains memory object of rb_location_t.
  • iseq.c: setup rb_location_t for each rb_iseq_t memory objects.
  • compile.c, proc.c, vm.c, vm_dump.c, vm_eval.c, vm_insnhelper.c,
    vm_method.c: support about it.

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