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

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

Issue 13127: Initial real implementation of simple merge for frames. Does not yet... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/toiger/
Patch Set: '' Created 12 years 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/register-allocator-ia32.cc ('k') | src/virtual-frame-ia32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/virtual-frame-ia32.h
===================================================================
--- src/virtual-frame-ia32.h (revision 894)
+++ src/virtual-frame-ia32.h (working copy)
@@ -151,9 +151,14 @@
// it was not possible to spill one.
Register SpillAnyRegister();
+ // True if an arbitrary frame of the same size could be merged to this
+ // one. Requires all values to be in a unique register or memory
+ // location.
+ bool IsMergable();
+
// Ensure that this frame is in a state where an arbitrary frame of the
// right size could be merged to it. May emit code.
- void EnsureMergable();
+ void MakeMergable();
// Make this virtual frame have a state identical to an expected virtual
// frame. As a side effect, code may be emitted to make this frame match
@@ -350,8 +355,8 @@
// for all the elements below this one (at least).
void SpillElementAt(int index);
- // Sync all elements in the frame.
- void SyncAll();
+ // Sync the range of elements in [begin, end).
+ void SyncRange(int begin, int end);
// Store the value on top of the frame to a frame slot (typically a local
// or parameter).
« no previous file with comments | « src/register-allocator-ia32.cc ('k') | src/virtual-frame-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698