diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-14 05:55:04 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-14 05:55:04 +0000 |
commit | 0c18a4b0f070f72b7d15f4263caca0085b070973 (patch) | |
tree | c2292d6a02f0fa529e8989d061ced2aa6cc6263e | |
parent | 86cd6d2e98fcc025601692842d7f6c42f7d748fa (diff) | |
download | ruby-0c18a4b0f070f72b7d15f4263caca0085b070973.tar.gz |
* vm.c (REWIND_CFP): get rid of statement expressions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | vm.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Thu Aug 14 14:54:55 2008 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * vm.c (REWIND_CFP): get rid of statement expressions. + Thu Aug 14 14:13:39 2008 Nobuyoshi Nakada <nobu@ruby-lang.org> * vm.c (Init_VM): hide FrozenCore. @@ -1677,7 +1677,7 @@ vm_define_method(rb_thread_t *th, VALUE obj, ID id, VALUE iseqval, #define REWIND_CFP(expr) do { \ rb_thread_t *th__ = GET_THREAD(); \ - th__->cfp++; (expr); th__->cfp--; \ + th__->cfp++; expr; th__->cfp--; \ } while (0) static VALUE |