Chromium Code Reviews

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

Issue 174639: Use a root array register for constant loads and stack guards on x64.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « src/x64/macro-assembler-x64.cc ('k') | src/x64/register-allocator-x64-inl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/x64/register-allocator-x64.h
===================================================================
--- src/x64/register-allocator-x64.h (revision 2780)
+++ src/x64/register-allocator-x64.h (working copy)
@@ -33,9 +33,7 @@
class RegisterAllocatorConstants : public AllStatic {
public:
- // Register allocation is not yet implemented on x64, but C++
- // forbids 0-length arrays so we use 1 as the number of registers.
- static const int kNumRegisters = 12;
+ static const int kNumRegisters = 11;
static const int kInvalidRegister = -1;
};
« no previous file with comments | « src/x64/macro-assembler-x64.cc ('k') | src/x64/register-allocator-x64-inl.h » ('j') | no next file with comments »

Powered by Google App Engine