When method's argument was [D then 'c' value was incorrectly
decremented. Use parse_method_args() to avoid code redundancy.
Signed-off-by: Tomek Grabiec tgrab...@gmail.com
---
jit/invoke-bc.c | 15 ++-
1 files changed, 6 insertions(+), 9 deletions(-)
diff --git a/jit/invoke-bc.c
Signatures with 'J' after 'Lclass;' were incorrectly parsed
Signed-off-by: Tomek Grabiec tgrab...@gmail.com
---
jit/invoke-bc.c |3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/jit/invoke-bc.c b/jit/invoke-bc.c
index 3a4b2da..628ebf3 100644
--- a/jit/invoke-bc.c
+++
We're scanning the method signature to determine the number of real
arguments to pass for an invoke opcode. We use the function
method_real_argument_count() for this. But it doesn't skip class names,
so if there is an uppercase J or D in the class name (of the argument
type), we count one argument