* eval.c (exec_under): should initialize ruby_frame->self;
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c0fe73989d
commit
a8c4400d1a
@ -1,3 +1,7 @@
|
|||||||
|
Wed Oct 31 16:59:25 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
|
* eval.c (exec_under): should initialize ruby_frame->self;
|
||||||
|
|
||||||
Wed Oct 31 15:09:28 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
|
Wed Oct 31 15:09:28 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
* eval.c (POP_VARS): should not set DVAR_DONT_RECYCLE if _old
|
* eval.c (POP_VARS): should not set DVAR_DONT_RECYCLE if _old
|
||||||
|
1
eval.c
1
eval.c
@ -5098,6 +5098,7 @@ exec_under(func, under, args)
|
|||||||
PUSH_CLASS();
|
PUSH_CLASS();
|
||||||
ruby_class = under;
|
ruby_class = under;
|
||||||
PUSH_FRAME();
|
PUSH_FRAME();
|
||||||
|
ruby_frame->self = _frame.prev->self;
|
||||||
ruby_frame->last_func = _frame.prev->last_func;
|
ruby_frame->last_func = _frame.prev->last_func;
|
||||||
ruby_frame->last_class = _frame.prev->last_class;
|
ruby_frame->last_class = _frame.prev->last_class;
|
||||||
ruby_frame->argc = _frame.prev->argc;
|
ruby_frame->argc = _frame.prev->argc;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user