Branch: refs/heads/master
Home:   http://github.com/penberg/jato

Commit: 98b32ee8f4ef7d3b6ab299859151087286533462
    
http://github.com/penberg/jato/commit/98b32ee8f4ef7d3b6ab299859151087286533462
Author: Tomek Grabiec <tgrab...@gmail.com>
Date:   2009-10-06 (Tue, 06 Oct 2009)

Changed paths:
  M include/jit/expression.h
  M include/vm/field.h
  M include/vm/method.h
  M include/vm/types.h
  M jit/invoke-bc.c
  M jit/trace-jit.c
  M test/jit/invoke-bc-test.c
  M test/jit/object-bc-test.c
  M test/jit/tree-printer-test.c
  M vm/class.c
  M vm/field.c
  M vm/jni-interface.c
  M vm/method.c
  M vm/reflection.c
  M vm/types.c

Log Message:
-----------
vm: parse method and field type on initialization

struct vm_type_info is introduced to fully describe a java type of a
call argument, return type, field type, etc. Method's and field's type
strings are parsed on initialization and type information is put to
appropriate struct vm_type_infos. Type information for method
arguments is encapsulated in struct vm_method_arg and linked in a list
pointed by struct vm_method.args.

This change removes plenty of calls to type string parsing which
should not be done at run-time but rather on method or field
initialization.

Signed-off-by: Tomek Grabiec <tgrab...@gmail.com>
Signed-off-by: Pekka Enberg <penb...@cs.helsinki.fi>


Commit: fad77b2a154ac42357af3f916d7d356968b135fe
    
http://github.com/penberg/jato/commit/fad77b2a154ac42357af3f916d7d356968b135fe
Author: Tomek Grabiec <tgrab...@gmail.com>
Date:   2009-10-06 (Tue, 06 Oct 2009)

Changed paths:
  M include/vm/reflection.h
  M vm/jato.c
  M vm/reflection.c

Log Message:
-----------
vm: implement java/lang/reflect/Method.getReturnType()

Signed-off-by: Tomek Grabiec <tgrab...@gmail.com>
Signed-off-by: Pekka Enberg <penb...@cs.helsinki.fi>



------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; 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&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Jatovm-devel mailing list
Jatovm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jatovm-devel

Reply via email to