Reviewers: Mads Ager,

Description:
Experimental: handle single-entry basic blocks as a special case.
Also, clean up fast switch jump tables.

If basic block entry labels are forward-only and they are bound with
exactly one incoming CFG edge (either a live frame and no jumps or
branches, or no live frame and a single jump or branch) then they can
be treated specially.

The body of the block is compiled with the single reaching frame, with
no extra code emitted.

The fast-case switch statements are cleaned up to use raw labels
rather than jump targets, because they do not fit the jump target
abstraction very well.

Please review this at http://codereview.chromium.org/21040

SVN Base: http://v8.googlecode.com/svn/branches/experimental/toiger/

Affected files:
   M     src/codegen-ia32.h
   M     src/codegen-ia32.cc
   M     src/codegen.cc
   M     src/jump-target-ia32.cc
   M     src/jump-target.h



--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to