Reviewers: Lasse Reichstein, Kevin Millikin,

Message:
This change is a starting point for supporting compound assignments and  
generic
pre-/postfix operations in the fast compiler. The plan is to have these new
constructs as separate upcoming changes.

Feedback is welcome :)


Description:
Refactor code for generating assignments in the fast compiler.

1. Refactor the structure of VisitAssignment: The existing code is not ideal
to be extended with support for compound assignments.

2. Reuse common code for keyed property assigments: Now variables rewritten
to a property (.arguments access) are treated like normal keyed property
assignments. This allows us to remove some code duplication.


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

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
   M     src/arm/fast-codegen-arm.cc
   M     src/fast-codegen.cc
   M     src/ia32/fast-codegen-ia32.cc
   M     src/x64/fast-codegen-x64.cc


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

Reply via email to