Reviewers: fschneider, William Hesse, Description: Introduce 'trivial' expressions, use them for this property assignments.
Add a (currently) syntactic predicate to AST expression nodes telling whether they are 'trivial'. Trivial expressions have no side effects, do not require storage to be allocated for them, and can be evaluated out of order (because their value does not change between when they are visited by the code generator as expressions in the AST and when it is consumed). Mark 'this' and literals as trivial. Allow them to be pushed on the virtual frame. Make use of them to push 'this' more lazily in this property assignments. Please review this at http://codereview.chromium.org/647018 Affected files: M src/ast.h M src/ia32/codegen-ia32.cc M src/ia32/virtual-frame-ia32.h M src/ia32/virtual-frame-ia32.cc -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
