Call arguments were incorrectly inserted to args list causing the list
to represent the reverse order of arguments.

Signed-off-by: Tomek Grabiec <tgrab...@gmail.com>
---
 vm/types.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/vm/types.c b/vm/types.c
index e20aecf..f4fe84d 100644
--- a/vm/types.c
+++ b/vm/types.c
@@ -273,7 +273,7 @@ int parse_method_type(struct vm_method *vmm)
                if (parse_type(&type_str, &arg->type_info))
                        return -1;
 
-               list_add(&arg->list_node, &vmm->args);
+               list_add_tail(&arg->list_node, &vmm->args);
        }
 
        type_str++;
-- 
1.6.0.4


------------------------------------------------------------------------------
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

Reply via email to