summaryrefslogtreecommitdiff
path: root/eval_intern.h
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 /eval_intern.h
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
Diffstat (limited to 'eval_intern.h')
-rw-r--r--eval_intern.h2
1 files changed, 1 insertions, 1 deletions
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) \