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

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

Issue 113329: Refactor JumpTarget::Combine. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 7 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
Index: src/ia32/virtual-frame-ia32.h
===================================================================
--- src/ia32/virtual-frame-ia32.h (revision 1927)
+++ src/ia32/virtual-frame-ia32.h (working copy)
@@ -485,6 +485,18 @@
bool Equals(VirtualFrame* other);
+ // Perform initialization required during entry frame computation
+ // after setting the virtual frame element at index in frame to be
+ // target.
+ void InitializeEntryElement(int index, FrameElement* target) {
+ elements_[index].clear_copied();
+ if (target->is_register()) {
+ register_locations_[target->reg().code()] = index;
+ } else if (target->is_copy()) {
+ elements_[target->index()].set_copied();
+ }
Lasse Reichstein 2009/05/13 10:23:30 This function is identical to the one in virtual-f
Kevin Millikin (Chromium) 2009/05/13 10:30:14 Good point. We have a TODO to combine the platfor
+ }
+
friend class JumpTarget;
};
« no previous file with comments | « src/arm/virtual-frame-arm.h ('k') | src/jump-target.h » ('j') | src/virtual-frame.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698