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

Commit: 7f9b5f817b69aae2622cdcf3604f23661a1b6550
    
http://github.com/penberg/jato/commit/7f9b5f817b69aae2622cdcf3604f23661a1b6550
Author: Tomek Grabiec <tgrab...@gmail.com>
Date:   2009-09-05 (Sat, 05 Sep 2009)

Changed paths:
  M Makefile
  M arch/x86/insn-selector.brg
  M include/jit/expression.h
  M include/jit/statement.h
  M jit/expression.c
  M jit/invoke-bc.c
  M jit/ostack-bc.c
  M jit/statement.c
  M jit/tree-printer.c
  A regression/jvm/InvokeTest.j
  M regression/run-suite.sh
  M test/jit/bc-test-utils.c
  M test/jit/bc-test-utils.h
  M test/jit/invoke-bc-test.c
  M test/jit/tree-printer-test.c

Log Message:
-----------
jit: fix conversion of invoke* instructions

It is incorrect to convert invocations into expressions which are
pushed onto mimic stack because pushed expressions can be evaluated
any time later after they are pushed. This can result in breaking the
execution sequence, where methods are not invoked in the order they
appear in bytecode.

Invocations are now handled as statements and their result is pushed
onto mimic stack.

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



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

Reply via email to