Reviewers: Mads Ager,

Description:
Use a loop in generated code to allocate stack slots for function with many
local variables.

If a function contains more than a certain number of locals (IA32: 9, X64:  
6,
ARM: 4M)
a loop for initializing the locals with 'undefined' is more compact.
For less locals we unroll that loop by emitting a sequence of push  
instructions.


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

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

Affected files:
   M     src/arm/virtual-frame-arm.cc
   M     src/ia32/virtual-frame-ia32.cc
   M     src/x64/virtual-frame-x64.cc


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

Reply via email to