mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
86cd6d2e98
commit
0c18a4b0f0
2 changed files with 5 additions and 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.
|
||||
|
|
2
vm.c
2
vm.c
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue