Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(134)

Unified Diff: src/virtual-frame-arm.h

Issue 50012: Change VirtualFrame::AdjustCopies to mark target as invalid. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/virtual-frame.cc ('k') | src/virtual-frame-arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/virtual-frame-arm.h
===================================================================
--- src/virtual-frame-arm.h (revision 1574)
+++ src/virtual-frame-arm.h (working copy)
@@ -440,13 +440,12 @@
// should be equal.
void MergeMoveMemoryToRegisters(VirtualFrame* expected);
- // Helper function to implement the copy-on-write semantics of an
- // element's copies just before writing to the element. The copies
- // are updated, but the element is not changed. A copy of the new
- // backing store of all the copies is returned if there were any
- // copies and in invalid frame element is returned if there were no
- // copies.
- FrameElement AdjustCopies(int index);
+ // Invalidates a frame slot (puts an invalid frame element in it).
+ // Copies on the frame are correctly handled, and if this slot was
+ // the backing store of copies, the index of the new backing store
+ // is returned. Otherwise, returns kIllegalIndex.
+ // Register counts are correctly updated.
+ int InvalidateFrameSlotAt(int index);
// Call a code stub that has already been prepared for calling (via
// PrepareForCall).
« no previous file with comments | « src/virtual-frame.cc ('k') | src/virtual-frame-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698