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

Unified Diff: src/register-allocator-ia32.h

Issue 18089: Experimental: for forward CFG edges, generate the code to merge to an... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/toiger/
Patch Set: Created 11 years, 11 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/register-allocator-ia32.h
===================================================================
--- src/register-allocator-ia32.h (revision 1075)
+++ src/register-allocator-ia32.h (working copy)
@@ -174,6 +174,14 @@
public:
explicit RegisterAllocator(CodeGenerator* cgen) : cgen_(cgen) {}
+ static RegisterFile Reserved() {
+ RegisterFile reserved;
+ reserved.Use(esi);
+ reserved.Use(ebp);
+ reserved.Use(esp);
+ return reserved;
+ }
+
int num_registers() const { return RegisterFile::kNumRegisters; }
// Predicates and accessors for the registers' reference counts.

Powered by Google App Engine
This is Rietveld 408576698