From aec0c29084a3f59cd9cd1dbd494755d85c8e3798 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Sat, 15 Sep 2007 11:22:22 -0600 Subject: [PATCH] fix math bug in parseFieldTable which lead to incorrect objectMasks --- src/machine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/machine.cpp b/src/machine.cpp index 6a24886588..66a7313eab 100644 --- a/src/machine.cpp +++ b/src/machine.cpp @@ -804,7 +804,7 @@ parseFieldTable(Thread* t, Stream& s, object class_, object pool) memcpy(&intArrayBody(t, mask, 0), &intArrayBody(t, superMask, 0), ceiling(classFixedSize(t, classSuper(t, class_)), - BitsPerWord * BytesPerWord) + 32 * BytesPerWord) * 4); } }