Reviewers: Mads Ager,

Description:
Allocate arguments object on-demand instead of at function entry.
This allows Function.prototype.apply to not allocate the objects
and copy the arguments directly from the stack.

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

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

Affected files:
   M     src/accessors.cc
   M     src/ast.h
   M     src/ast.cc
   M     src/ia32/codegen-ia32.h
   M     src/ia32/codegen-ia32.cc
   M     src/parser.cc
   M     src/runtime.js
   M     src/scopes.h
   M     src/scopes.cc
   M     src/variables.h
   M     src/variables.cc
   A     test/mjsunit/arguments-apply.js
   A     test/mjsunit/arguments-lazy.js



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

Reply via email to