1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* eval.c (PUSH_FRAME): generate unique number to be TAG_JUMP()

destination.

* eval.c (localjump_destination): use unique number in ruby_frame
  for localjump destination.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2003-10-20 08:33:49 +00:00
parent 8405551e6d
commit 6eb98c5ebe
4 changed files with 24 additions and 13 deletions

1
env.h
View file

@ -25,6 +25,7 @@ extern struct FRAME {
struct RNode *node;
int iter;
int flags;
unsigned long uniq;
} *ruby_frame;
void rb_gc_mark_frame _((struct FRAME *));