зеркало из https://github.com/github/ruby.git
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:
Родитель
7db2db67fa
Коммит
8b9e877b1f
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
|
||||
|
|
Загрузка…
Ссылка в новой задаче