зеркало из https://github.com/github/ruby.git
* cont.c (cont_memsize): fixed wrong expression on IA64.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
f7f3f9bf76
Коммит
85cc4ff62a
|
@ -1,3 +1,7 @@
|
|||
Wed Sep 9 11:07:48 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* cont.c (cont_memsize): fixed wrong expression on IA64.
|
||||
|
||||
Wed Sep 9 10:51:46 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* cont.c (cont_restore_1, rb_cont_call): should be Fiber.
|
||||
|
|
3
cont.c
3
cont.c
|
@ -148,8 +148,7 @@ cont_memsize(void *ptr)
|
|||
}
|
||||
#ifdef __ia64
|
||||
if (cont->machine_register_stack) {
|
||||
size += (cont->machine_register_stack + cont->machine_register_stack_size) *
|
||||
sizeof(*cont->machine_register_stack);
|
||||
size += cont->machine_register_stack_size * sizeof(*cont->machine_register_stack);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче