Skip to content

Commit

Permalink
* cont.c (cont_memsize): fixed wrong expression on IA64.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nobu committed Sep 9, 2009
1 parent f7f3f9b commit 85cc4ff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
3 changes: 1 addition & 2 deletions cont.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 85cc4ff

Please sign in to comment.