skip_type() has been removed and we need to use parse_method_args() to parse the method type string.
Signed-off-by: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> --- arch/x86/args.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/x86/args.c b/arch/x86/args.c index 6fe22b8..c6835a1 100644 --- a/arch/x86/args.c +++ b/arch/x86/args.c @@ -60,7 +60,7 @@ static enum machine_reg args_map_alloc_gpr(int gpr) int args_map_init(struct vm_method *method) { - const char *type; + const char *type = method->type; enum vm_type vm_type; int idx, gpr_count = 0, stack_count = 0; struct vm_args_map *map; @@ -83,10 +83,9 @@ int args_map_init(struct vm_method *method) idx = 0; /* Scan the real parameters and assign registers and stack slots. */ - for (type = method->type + 1; *type != ')'; skip_type(&type)) { + while ((type = parse_method_args(type, &vm_type, NULL))) { map = &method->args_map[idx]; - vm_type = str_to_type(type); switch (vm_type) { case J_BYTE: case J_CHAR: -- 1.6.0.6 ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Jatovm-devel mailing list Jatovm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jatovm-devel