| Index: src/virtual-frame-ia32.cc
|
| ===================================================================
|
| --- src/virtual-frame-ia32.cc (revision 1027)
|
| +++ src/virtual-frame-ia32.cc (working copy)
|
| @@ -727,15 +727,14 @@
|
| ASSERT(temp.is_valid());
|
| FrameElement new_element
|
| = FrameElement::RegisterElement(temp.reg(),
|
| - FrameElement::NOT_SYNCED);
|
| + FrameElement::SYNCED);
|
| Use(temp.reg());
|
| elements_[index] = new_element;
|
| + __ mov(temp.reg(), Operand(ebp, fp_relative(index)));
|
| +
|
| Use(temp.reg());
|
| + new_element.clear_sync();
|
| elements_.Add(new_element);
|
| -
|
| - // Finally, move the element at the index into its new location.
|
| - elements_[index].set_sync();
|
| - __ mov(temp.reg(), Operand(ebp, fp_relative(index)));
|
| } else {
|
| // For constants and registers, add an (unsynced) copy of the element to
|
| // the top of the frame.
|
| @@ -898,9 +897,6 @@
|
| }
|
|
|
|
|
| -void VirtualFrame::Drop() { Drop(1); }
|
| -
|
| -
|
| Result VirtualFrame::Pop() {
|
| FrameElement popped = elements_.RemoveLast();
|
| bool pop_needed = (stack_pointer_ == elements_.length());
|
|
|