diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-26 08:27:00 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-26 08:27:00 +0000 |
commit | 3b1c663ed942c3125c8ff93243b3af77da7cdac4 (patch) | |
tree | da7697de54138e1706fffc7e3de02c03c0c8a02f /compile.h | |
parent | 1e039d96f3c391cea3138c8c2c01d4f4757b0433 (diff) | |
download | ruby-3b1c663ed942c3125c8ff93243b3af77da7cdac4.tar.gz |
* compile.c, compile.h: fix to calculate correct stack depth
at each instruction.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'compile.h')
-rw-r--r-- | compile.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -167,6 +167,9 @@ r_value(VALUE value) #define ADD_ADJUST(seq, line, label) \ ADD_ELEM(seq, (LINK_ELEMENT *) new_adjust_body(iseq, label, line)) +#define ADD_ADJUST_RESTORE(seq, label) \ + ADD_ELEM(seq, (LINK_ELEMENT *) new_adjust_body(iseq, label, -1)) + #define ADD_CATCH_ENTRY(type, ls, le, iseqv, lc) \ (rb_ary_push(iseq->compile_data->catch_table_ary, \ rb_ary_new3(5, type, \ |