mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Unused macro and field
* node.h (nd_cnt, struct RNode): nd_cnt has been unused since r60239, and also cnt field. * .gdbinit (nd_cnt): ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7db2db67fa
commit
8b9e877b1f
2 changed files with 0 additions and 8 deletions
6
.gdbinit
6
.gdbinit
|
@ -698,12 +698,6 @@ define nd_cval
|
|||
rp ($arg0).u3.value
|
||||
end
|
||||
|
||||
|
||||
define nd_cnt
|
||||
printf "%su3.cnt%s: ", $color_highlite, $color_end
|
||||
p ($arg0).u3.cnt
|
||||
end
|
||||
|
||||
define nd_tbl
|
||||
printf "%su1.tbl%s: ", $color_highlite, $color_end
|
||||
p ($arg0).u1.tbl
|
||||
|
|
2
node.h
2
node.h
|
@ -262,7 +262,6 @@ typedef struct RNode {
|
|||
long state;
|
||||
struct rb_global_entry *entry;
|
||||
struct rb_args_info *args;
|
||||
long cnt;
|
||||
VALUE value;
|
||||
} u3;
|
||||
rb_code_location_t nd_loc;
|
||||
|
@ -324,7 +323,6 @@ typedef struct RNode {
|
|||
#define nd_cval u3.value
|
||||
|
||||
#define nd_oid u1.id
|
||||
#define nd_cnt u3.cnt
|
||||
#define nd_tbl u1.tbl
|
||||
|
||||
#define nd_var u1.node
|
||||
|
|
Loading…
Reference in a new issue