fix incorrect jvalue marshalling in compile.cpp

4512a9a introduced a new ArgumentList constructor which was handling
some types incorrectly (e.g. implicitly converting floats to
integers).  This commit fixes it.
This commit is contained in:
Joel Dice 2012-07-06 10:56:04 -06:00
parent 5f1b086150
commit 86be0c409c

View File

@ -8249,15 +8249,15 @@ class ArgumentList {
break; break;
case 'D': case 'D':
addLong(arguments[index++].d); addLong(doubleToBits(arguments[index++].d));
break; break;
case 'F': case 'F':
addLong(arguments[index++].f); addInt(floatToBits(arguments[index++].f));
break; break;
default: default:
addLong(arguments[index++].i); addInt(arguments[index++].i);
break; break;
} }
} }