summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-07-01 16:40:13 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-07-01 16:40:13 +0000
commitbb0687f680dd8d6139a8546e149e3ce47bcef0f8 (patch)
treed05288e068fa1ae713b02272de668d4ef38c954d /eval.c
parent760e0e2a936ea7bdb2a6a3b65351dbf69659a10c (diff)
* eval.c (PUSH_FRAME): initialize frame->self. [ruby-dev:28911]
* configure.in: should test isinf for Solaris with GCC compiler. a patch from <ville.mattila at stonesoft.com>. [ruby-core:07791] * configure.in: -shared patch from Andrew Morrow <andrew.c.morrow at gmail.com>. [ruby-core:08100] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/eval.c b/eval.c
index 98899b5e19..7a3e2ea206 100644
--- a/eval.c
+++ b/eval.c
@@ -755,6 +755,7 @@ static unsigned long frame_unique = 1;
_frame.tmp = 0; \
_frame.node = ruby_current_node; \
_frame.argc = 0; \
+ _frame.self = (link)?ruby_frame->self:0;\
_frame.block = (link)?ruby_frame->block:0;\
_frame.flags = 0; \
_frame.uniq = frame_unique++; \