mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
remove duplicated initialize in PUSH_TAG.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
3e83e3c639
commit
da6980195e
1 changed files with 1 additions and 2 deletions
3
eval.c
3
eval.c
|
@ -776,7 +776,6 @@ static struct tag *prot_tag;
|
||||||
_tag.frame = ruby_frame; \
|
_tag.frame = ruby_frame; \
|
||||||
_tag.iter = ruby_iter; \
|
_tag.iter = ruby_iter; \
|
||||||
_tag.prev = prot_tag; \
|
_tag.prev = prot_tag; \
|
||||||
_tag.retval = Qnil; \
|
|
||||||
_tag.scope = ruby_scope; \
|
_tag.scope = ruby_scope; \
|
||||||
_tag.tag = ptag; \
|
_tag.tag = ptag; \
|
||||||
_tag.dst = 0; \
|
_tag.dst = 0; \
|
||||||
|
@ -6337,7 +6336,7 @@ proc_eq(self, other)
|
||||||
struct BLOCK *data, *data2;
|
struct BLOCK *data, *data2;
|
||||||
|
|
||||||
if (TYPE(other) != T_DATA) return Qfalse;
|
if (TYPE(other) != T_DATA) return Qfalse;
|
||||||
if (RDATA(other)->dmark != blk_mark) Qfalse;
|
if (RDATA(other)->dmark != (RUBY_DATA_FUNC)blk_mark) Qfalse;
|
||||||
Data_Get_Struct(self, struct BLOCK, data);
|
Data_Get_Struct(self, struct BLOCK, data);
|
||||||
Data_Get_Struct(other, struct BLOCK, data2);
|
Data_Get_Struct(other, struct BLOCK, data2);
|
||||||
if (data->tag == data2->tag) return Qtrue;
|
if (data->tag == data2->tag) return Qtrue;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue