Index: src/virtual-frame-ia32.cc |
=================================================================== |
--- src/virtual-frame-ia32.cc (revision 1593) |
+++ src/virtual-frame-ia32.cc (working copy) |
@@ -538,6 +538,9 @@ |
backing_reg = original.reg(); |
register_locations_[backing_reg.code()] = new_backing_index; |
} |
+ // Invalidate the element at index. |
+ elements_[index] = FrameElement::InvalidElement(); |
+ // Set the new backing element. |
if (elements_[new_backing_index].is_synced()) { |
elements_[new_backing_index] = |
FrameElement::RegisterElement(backing_reg, FrameElement::SYNCED); |