mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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:
parent
f7f3f9bf76
commit
85cc4ff62a
2 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue