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

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

Issue 16512: Experimental: begin using the register allocator across entering and... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/toiger/
Patch Set: '' Created 11 years, 12 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/virtual-frame-ia32.h
===================================================================
--- src/virtual-frame-ia32.h (revision 1026)
+++ src/virtual-frame-ia32.h (working copy)
@@ -281,9 +281,12 @@
// The function frame slot.
Operand Function() const { return Operand(ebp, kFunctionOffset); }
- // The context frame slot.
- Operand Context() const { return Operand(ebp, kContextOffset); }
+ // Save the value of the esi register in the context frame slot.
William Hesse 2009/01/06 12:04:08 Comment should say that that esi is not synced to
Kevin Millikin (Chromium) 2009/01/06 12:10:28 Comment changed.
+ void SaveContextRegister();
+ // Restore the esi register with the value of the frame context slot.
+ void RestoreContextRegister();
+
// A parameter as an assembly operand.
Operand ParameterAt(int index) const {
ASSERT(-1 <= index); // -1 is the receiver.
@@ -326,8 +329,8 @@
// Call the runtime, given the number of arguments expected on (and
// removed from) the top of the physical frame.
- void CallRuntime(Runtime::Function* f, int frame_arg_count);
- void CallRuntime(Runtime::FunctionId id, int frame_arg_count);
+ Result CallRuntime(Runtime::Function* f, int frame_arg_count);
+ Result CallRuntime(Runtime::FunctionId id, int frame_arg_count);
// Invoke a builtin, given the number of arguments it expects on (and
// removes from) the top of the physical frame.
« src/codegen-ia32.cc ('K') | « src/codegen-ia32.cc ('k') | src/virtual-frame-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698