aboutsummaryrefslogtreecommitdiff
path: root/libjava
diff options
context:
space:
mode:
authorKyle Galloway <kgallowa@redhat.com>2007-03-12 20:15:25 +0000
committerKyle Galloway <kgallowa@redhat.com>2007-03-12 20:15:25 +0000
commitef6f411554b957e579550ed64a2d9e5769392384 (patch)
treee6e4dc0f5cbca052c31ab7c0bc44d4e95e7c1c9e /libjava
parent9750a2b20d433fbd8c5dc19501917bfe92bf6c83 (diff)
2007-03-12 Kyle Galloway <kgallowa@redhat.com>
* jvmti.cc (_Jv_JVMTI_GetArgumentsSize): Make wide type arrays count as a sigle slot. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@122864 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava')
-rw-r--r--libjava/jvmti.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/jvmti.cc b/libjava/jvmti.cc
index e9fa0a22927..716e96ae682 100644
--- a/libjava/jvmti.cc
+++ b/libjava/jvmti.cc
@@ -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;