projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b389f63
)
jvmti.cc (_Jv_JVMTI_GetArgumentsSize): Make wide type arrays count as a sigle slot.
author
Kyle Galloway
<kgallowa@gcc.gnu.org>
Mon, 12 Mar 2007 20:15:25 +0000
(20:15 +0000)
committer
Kyle Galloway
<kgallowa@gcc.gnu.org>
Mon, 12 Mar 2007 20:15:25 +0000
(20:15 +0000)
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
libjava/jvmti.cc
patch
|
blob
|
history
diff --git
a/libjava/jvmti.cc
b/libjava/jvmti.cc
index e9fa0a229272e391d569fc4bb06f00396ce97ee3..716e96ae6828d4fc67e4c69bd7e37d27d90528c6 100644
(file)
--- 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;