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

Unified Diff: src/jump-target.cc

Issue 50005: Add a copied flag to virtual frame elements that tells if a copy has... (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/disassembler.cc ('k') | src/virtual-frame.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/jump-target.cc
===================================================================
--- src/jump-target.cc (revision 1542)
+++ src/jump-target.cc (working copy)
@@ -270,6 +270,16 @@
}
}
+ // Set the copied flags in the frame to be exact. This assumes that
+ // the backing store of copies is always lower in the frame.
+ for (int i = 0; i < length; i++) {
+ entry_frame_->elements_[i].clear_copied();
+ if (entry_frame_->elements_[i].is_copy()) {
+ int index = entry_frame_->elements_[i].index();
+ entry_frame_->elements_[index].set_copied();
+ }
+ }
+
// Fill in the other fields of the entry frame.
entry_frame_->local_count_ = initial_frame->local_count_;
entry_frame_->frame_pointer_ = initial_frame->frame_pointer_;
« no previous file with comments | « src/disassembler.cc ('k') | src/virtual-frame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698