diff options
author | kgallowa <kgallowa@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-03-12 20:15:25 +0000 |
---|---|---|
committer | kgallowa <kgallowa@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-03-12 20:15:25 +0000 |
commit | 433b60ee4da5592e27a626f5c33537a301381e47 (patch) | |
tree | e6e4dc0f5cbca052c31ab7c0bc44d4e95e7c1c9e /libjava/jvmti.cc | |
parent | f870c81b90b8c2ea45ef4562d1e8fe270545ef7b (diff) | |
download | gcc-433b60ee4da5592e27a626f5c33537a301381e47.tar.gz |
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: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122864 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/jvmti.cc')
-rw-r--r-- | libjava/jvmti.cc | 2 |
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; |