1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Unused macro and field

* node.h (nd_cfnc, struct RNode): nd_cfnc has been unused
  since r49938, and also cfunc field.
* .gdbinit (nd_cfnc): ditto

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
yui-knk 2018-05-28 14:24:14 +00:00
parent dceecfb66f
commit 3e2ff59f10
2 changed files with 0 additions and 7 deletions

View file

@ -797,11 +797,6 @@ define nd_new
end
define nd_cfnc
printf "%su1.cfunc%s: ", $color_highlite, $color_end
p ($arg0).u1.cfunc
end
define nd_argc
printf "%su2.argc%s: ", $color_highlite, $color_end
p ($arg0).u2.argc

2
node.h
View file

@ -248,7 +248,6 @@ typedef struct RNode {
struct RNode *node;
ID id;
VALUE value;
VALUE (*cfunc)(ANYARGS);
ID *tbl;
} u1;
union {
@ -350,7 +349,6 @@ typedef struct RNode {
#define nd_noex u3.id
#define nd_defn u3.node
#define nd_cfnc u1.cfunc
#define nd_argc u2.argc
#define nd_cpath u1.node