Commit 98b32ee8f changed the way we access argument type information for a given method. This makes x86-64 code comply with this change.
Signed-off-by: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> --- arch/x86/args.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/x86/args.c b/arch/x86/args.c index fc99341..c43dc6a 100644 --- a/arch/x86/args.c +++ b/arch/x86/args.c @@ -85,7 +85,7 @@ static enum machine_reg args_map_alloc_xmm(int xmm) int args_map_init(struct vm_method *method) { - const char *type = method->type; + struct vm_method_arg *arg; enum vm_type vm_type; int idx; int gpr_count = 0, xmm_count = 0, stack_count = 0; @@ -110,8 +110,9 @@ int args_map_init(struct vm_method *method) idx = 0; /* Scan the real parameters and assign registers and stack slots. */ - while ((type = parse_method_args(type, &vm_type, NULL))) { + list_for_each_entry(arg, &method->args, list_node) { map = &method->args_map[idx]; + vm_type = arg->type_info.vm_type; switch (vm_type) { case J_BYTE: -- 1.6.0.6 ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Jatovm-devel mailing list Jatovm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jatovm-devel