 Chromium Code Reviews
 Chromium Code Reviews Issue 5220007:
  Force pretenuring of closures that are immediately assigned to...  (Closed) 
  Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
    
  
    Issue 5220007:
  Force pretenuring of closures that are immediately assigned to...  (Closed) 
  Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/| Index: src/ia32/code-stubs-ia32.cc | 
| =================================================================== | 
| --- src/ia32/code-stubs-ia32.cc (revision 5865) | 
| +++ src/ia32/code-stubs-ia32.cc (working copy) | 
| @@ -80,8 +80,9 @@ | 
| __ pop(edx); | 
| __ push(esi); | 
| __ push(edx); | 
| + __ push(Immediate(Factory::false_value())); | 
| __ push(ecx); // Restore return address. | 
| - __ TailCallRuntime(Runtime::kNewClosure, 2, 1); | 
| + __ TailCallRuntime(Runtime::kNewClosure, 3, 1); | 
| } |