зеркало из https://github.com/github/ruby.git
* 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:
Родитель
86cd6d2e98
Коммит
0c18a4b0f0
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче