* src/vm/jit/jit.c (vm/jit/cfg.h): Added.
authortwisti <none@none>
Mon, 7 Aug 2006 11:10:01 +0000 (11:10 +0000)
committertwisti <none@none>
Mon, 7 Aug 2006 11:10:01 +0000 (11:10 +0000)
commit785bd445eb253c9e56c62d38405a619c81407be0
treeffba6e09c98c61dee3e774326bb1a46d83278c05
parenta047564811bb4bed3b0ee155ecfaadabf5f73300
* src/vm/jit/jit.c (vm/jit/cfg.h): Added.
(vm/jit/reorder.h): Likewise.
(jit_recompile): Set JITDATA_FLAG_REORDER flag.
(jit_compile_intern): Call cfg_build and reorder.
(jit_complement_condition): New function.

* src/vm/jit/jit.h (basicblock): Changed type of predecessors and
successors.
(jit_complement_condition): Added.

* src/vm/jit/cfg.c (cfg_allocate_predecessors): New method.
(cfg_allocate_successors): Likewise.
(cfg_build): Finished implementation.

* src/vm/jit/reorder.c (reorder_place_next_unplaced_block): New
function.
(reorder): Improved, still not working.

* src/vm/jit/show.c (new_show_method): Walk the basic block chain to
find the last block, as this may change.
(show_method): Likewise.
src/vm/jit/cfg.c
src/vm/jit/jit.c
src/vm/jit/jit.h
src/vm/jit/reorder.c
src/vm/jit/show.c