aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--cont.c3
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index f5ef8bb432..36dbcb07eb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/cont.c b/cont.c
index 10a8df1754..8fd9d89e64 100644
--- a/cont.c
+++ b/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
}