summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-17 06:44:28 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-17 06:44:28 +0000
commitc8c6fde56f84c4fd26ade4268376279c65266949 (patch)
tree20e1f3e271ed1950573337a3d1b61d9b8e563da7
parent554e9a83e02b00d97870432c82267fc63c469c5f (diff)
* eval_intern.h: use rb_node_newnode() directly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--eval_intern.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8d3a427..9dc7116 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Thu Sep 17 15:41:02 2009 Koichi Sasada <ko1@atdot.net>
+
+ * eval_intern.h: use rb_node_newnode() directly.
+
Thu Sep 17 15:01:32 2009 Koichi Sasada <ko1@atdot.net>
* blockinlining.c: removed.
diff --git a/eval_intern.h b/eval_intern.h
index 573f497..b779082 100644
--- a/eval_intern.h
+++ b/eval_intern.h
@@ -157,7 +157,7 @@ enum ruby_tag_type {
#define TAG_MASK RUBY_TAG_MASK
#define NEW_THROW_OBJECT(val, pt, st) \
- ((VALUE)NEW_NODE(NODE_LIT, (val), (pt), (st)))
+ ((VALUE)rb_node_newnode(NODE_LIT, (VALUE)(val), (VALUE)(pt), (VALUE)(st)))
#define SET_THROWOBJ_CATCH_POINT(obj, val) \
(RNODE((obj))->u2.value = (val))
#define SET_THROWOBJ_STATE(obj, val) \