Chromium Code Reviews| Index: src/virtual-frame-light-inl.h |
| =================================================================== |
| --- src/virtual-frame-light-inl.h (revision 4835) |
| +++ src/virtual-frame-light-inl.h (working copy) |
| @@ -74,7 +74,9 @@ |
| void VirtualFrame::PrepareForReturn() { |
| - SpillAll(); |
| + // Don't bother flushing tos registers as returning does not require more |
| + // access to the expression stack. |
| + top_of_stack_state_ = NO_TOS_REGISTERS; |
| } |