Reviewers: Lasse Reichstein, Kevin Millikin,

Message:
Here's the IA32 part for pre-/postfix operations for review.

The code definitely has potential for refactoring into something nicer. I  
hope
with new IC calling conventions this code will get a lot cleaner.

(x64 and ARM will follow after first round of feedback)

Description:
Added pre- and postfix count operations to top-level compiler.

Until now we only supported postfix operations on global variables.
This change add generic count operations to the top-level compiler.

I tried to re-use code from the code generator used for assignment  
expressions
where possible.


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

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

Affected files:
   M     src/compiler.cc
   M     src/fast-codegen.h
   M     src/fast-codegen.cc
   M     src/ia32/fast-codegen-ia32.cc
   A     test/mjsunit/compiler/countoperation.js


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

Reply via email to