Skip to content

Commit 698fe54

Browse files
committed
* node.h (RNode): match the type of flags to RBasic, and renamed
nd_file as nd_reserved. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 202cb99 commit 698fe54

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

ChangeLog

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
Thu Dec 16 07:51:47 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
1+
Thu Dec 16 08:04:47 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
2+
3+
* node.h (RNode): match the type of flags to RBasic, and renamed
4+
nd_file as nd_reserved.
25

36
* iseq.c (set_relation), vm_insnhelper.c (vm_cref_push): nd_file
47
is always zero-cleared.

node.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,8 @@ enum node_type {
233233
};
234234

235235
typedef struct RNode {
236-
unsigned long flags;
237-
char *nd_file;
236+
VALUE flags;
237+
VALUE nd_reserved; /* ex nd_file */
238238
union {
239239
struct RNode *node;
240240
ID id;

0 commit comments

Comments
 (0)