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:
parent
b389f63b05
commit
814bcb146b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user