8004051: assert(_oprs_len[mode] < maxNumberOfOperands) failed: array overflow

Assert is triggered when number of register based arguments passed to a java method exceeds 16.

Reviewed-by: roland, vladidan
This commit is contained in:
Bill Pittore 2013-01-03 15:08:43 -05:00
parent 52a0bed8f5
commit 782ef982f6

View File

@ -2259,7 +2259,7 @@ class LIR_OpVisitState: public StackObj {
typedef enum { inputMode, firstMode = inputMode, tempMode, outputMode, numModes, invalidMode = -1 } OprMode;
enum {
maxNumberOfOperands = 16,
maxNumberOfOperands = 20,
maxNumberOfInfos = 4
};