aboutsummaryrefslogtreecommitdiffstats
path: root/cont.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-09 02:07:50 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-09 02:07:50 +0000
commit85cc4ff62a95500ee748f9d5d987a0003d43b4e5 (patch)
tree0533ebd9984642547c1c9876466f09ed47d9ed9c /cont.c
parentf7f3f9bf76467190c34fc598fd48ebedf3db9f42 (diff)
downloadruby-85cc4ff62a95500ee748f9d5d987a0003d43b4e5.tar.gz
* 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
Diffstat (limited to 'cont.c')
-rw-r--r--cont.c3
1 files changed, 1 insertions, 2 deletions
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
}