fixed incorrect opSize bug for 64-bit platforms

This commit is contained in:
Josh warner 2009-08-11 13:25:22 -06:00
parent af4d82ef7e
commit 32167168f8

View File

@ -3630,7 +3630,7 @@ compile(MyThread* t, Frame* initialFrame, unsigned ip,
if (DebugIntrinsics) {
fprintf(stderr, "Using binary intrinsic %i.\n", op);
}
int opSize = methodParameterFootprint(t, target) * BytesPerWord;
int opSize = methodParameterFootprint(t, target) * 4;
int resSize = resultSize(t, methodReturnCode(t, target));
Compiler::Operand* param;
if (opSize == 4) {