Chromium Code Reviews| Index: src/virtual-frame.cc |
| =================================================================== |
| --- src/virtual-frame.cc (revision 1283) |
| +++ src/virtual-frame.cc (working copy) |
| @@ -193,10 +193,10 @@ |
| void VirtualFrame::SpillElementAt(int index) { |
| if (!elements_[index].is_valid()) return; |
| + SyncElementAt(index); |
| if (elements_[index].is_register()) { |
| Unuse(elements_[index].reg()); |
| } |
| - SyncElementAt(index); |
| // The element is now in memory. |
| elements_[index] = FrameElement::MemoryElement(); |
| } |