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

Unified Diff: src/compiler/register-configuration.cc

Issue 1164813007: Config double register number as 1 for X87 Turbofan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 6 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
« no previous file with comments | « src/arm64/assembler-arm64.h ('k') | src/ia32/assembler-ia32.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/register-configuration.cc
diff --git a/src/compiler/register-configuration.cc b/src/compiler/register-configuration.cc
index 7257aca02f0f236cc6ab515bb57be85cd387276b..4216443e1495dcf94c43d65e99807b07816a4380 100644
--- a/src/compiler/register-configuration.cc
+++ b/src/compiler/register-configuration.cc
@@ -20,11 +20,12 @@ STATIC_ASSERT(RegisterConfiguration::kMaxDoubleRegisters >=
class ArchDefaultRegisterConfiguration : public RegisterConfiguration {
public:
ArchDefaultRegisterConfiguration()
- : RegisterConfiguration(Register::kMaxNumAllocatableRegisters,
- DoubleRegister::kMaxNumAllocatableRegisters,
- DoubleRegister::NumAllocatableAliasedRegisters(),
- general_register_name_table_,
- double_register_name_table_) {
+ : RegisterConfiguration(
+ Register::kMaxNumAllocatableRegisters,
+ DoubleRegister::NumAllocatableRegistersForTurbo(),
titzer 2015/06/09 14:47:00 This is the class meant to configure turbofan. Why
+ DoubleRegister::NumAllocatableAliasedRegistersForTurbo(),
+ general_register_name_table_,
+ double_register_name_table_) {
DCHECK_EQ(Register::kMaxNumAllocatableRegisters,
Register::NumAllocatableRegisters());
for (int i = 0; i < Register::kMaxNumAllocatableRegisters; ++i) {
« no previous file with comments | « src/arm64/assembler-arm64.h ('k') | src/ia32/assembler-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698