diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-09 02:07:50 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-09 02:07:50 +0000 |
| commit | 812357230aa938062814d16cd15a2f1054cdff80 (patch) | |
| tree | 0533ebd9984642547c1c9876466f09ed47d9ed9c | |
| parent | c22efd725fd81aeae85ac417922ec7b611b0c54c (diff) | |
| download | ruby-812357230aa938062814d16cd15a2f1054cdff80.tar.gz ruby-812357230aa938062814d16cd15a2f1054cdff80.tar.xz ruby-812357230aa938062814d16cd15a2f1054cdff80.zip | |
* cont.c (cont_memsize): fixed wrong expression on IA64.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | cont.c | 3 |
2 files changed, 5 insertions, 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. @@ -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 } |
