Reviewers: iposva, William Hesse, Description: Experimental: push the new code generator infrastructure into the count operations (pre- and post- increment and decrement).
For frame-allocated slots in registers, we can overwrite them. This is a simple way to reduce register pressure by not consuming a register to back the frame element that will be written before being read again. It also ensures that frame-allocated slots that are the target of count operations do not migrate to a different register, which would make merging generate silly moves. This change allows INVALID frame elements to appear in expected frames. It is always safe to merge to invalid elements. Currently we require both source and target elements to be invalid, but that could be relaxed. Please review this at http://codereview.chromium.org/16412 SVN Base: http://v8.googlecode.com/svn/branches/experimental/toiger/ Affected files: M src/codegen-ia32.h M src/codegen-ia32.cc M src/jump-target-ia32.cc M src/jump-target.h M src/virtual-frame-ia32.h M src/virtual-frame-ia32.cc --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
