jvmti.cc (_Jv_JVMTI_GetArgumentsSize): Make wide type arrays count as a sigle slot.

2007-03-12  Kyle Galloway  <kgallowa@redhat.com>

	* jvmti.cc (_Jv_JVMTI_GetArgumentsSize): Make wide type arrays count
	as a sigle slot.

From-SVN: r122864
This commit is contained in:
Kyle Galloway 2007-03-12 20:15:25 +00:00
parent b389f63b05
commit 814bcb146b

View File

@ -1113,7 +1113,7 @@ _Jv_JVMTI_GetArgumentsSize (jvmtiEnv *env, jmethodID method, jint *size)
else if (sig[i] == 'J' || sig[i] == 'D')
{
// If this is an array of wide types it uses a single slot
if (i > 0 && sig[i-1] == '[')
if (i > 0 && sig[i - 1] == '[')
num_slots++;
else
num_slots += 2;