Skip to content

Commit

Permalink
* node.h (RNode): match the type of flags to RBasic, and renamed
Browse files Browse the repository at this point in the history
  nd_file as nd_reserved.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nobu committed Dec 15, 2010
1 parent 202cb99 commit 698fe54
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
Thu Dec 16 07:51:47 2010 Nobuyoshi Nakada <[email protected]>
Thu Dec 16 08:04:47 2010 Nobuyoshi Nakada <[email protected]>

* node.h (RNode): match the type of flags to RBasic, and renamed
nd_file as nd_reserved.

* iseq.c (set_relation), vm_insnhelper.c (vm_cref_push): nd_file
is always zero-cleared.
Expand Down
4 changes: 2 additions & 2 deletions node.h
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,8 @@ enum node_type {
};

typedef struct RNode {
unsigned long flags;
char *nd_file;
VALUE flags;
VALUE nd_reserved; /* ex nd_file */
union {
struct RNode *node;
ID id;
Expand Down

0 comments on commit 698fe54

Please sign in to comment.