DescriptionUse 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: 4)
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.
Committed: http://code.google.com/p/v8/source/detail?r=3521
Patch Set 1 #
Total comments: 8
Patch Set 2 : '' #
Messages
Total messages: 3 (0 generated)
|