Index: src/virtual-frame-ia32.cc |
=================================================================== |
--- src/virtual-frame-ia32.cc (revision 1531) |
+++ src/virtual-frame-ia32.cc (working copy) |
@@ -550,7 +550,6 @@ |
return copy; |
} |
- elements_[index].clear_copied(); |
return FrameElement::InvalidElement(); |
} |
@@ -570,9 +569,7 @@ |
// push that register on top of the frame. If it is copied, |
// make the first copy the backing store and push a fresh copy |
// on top of the frame. |
- FrameElement copy = original.is_copied() |
- ? AdjustCopies(index) |
- : FrameElement::InvalidElement(); |
+ FrameElement copy = AdjustCopies(index); |
if (copy.is_valid()) { |
// The original element was a copy. Push the copy of the new |
// backing store. |
@@ -596,9 +593,7 @@ |
// If the element is not copied, push it on top of the frame. |
// If it is copied, make the first copy be the new backing store |
// and push a fresh copy on top of the frame. |
- FrameElement copy = original.is_copied() |
- ? AdjustCopies(index) |
- : FrameElement::InvalidElement(); |
+ FrameElement copy = AdjustCopies(index); |
if (copy.is_valid()) { |
// The original element was a copy. Push the copy of the new |
// backing store. |
@@ -639,8 +634,7 @@ |
FrameElement original = elements_[index]; |
// If the stored-to slot may be copied, adjust to preserve the |
// copy-on-write semantics of copied elements. |
- if (original.is_copied() && |
- (original.is_register() || original.is_memory())) { |
+ if (original.is_register() || original.is_memory()) { |
FrameElement ignored = AdjustCopies(index); |
} |