Index: test/unittests/compiler/instruction-sequence-unittest.cc |
diff --git a/test/unittests/compiler/instruction-sequence-unittest.cc b/test/unittests/compiler/instruction-sequence-unittest.cc |
index 51112a6470ee24e9d21ff18936a9d9554f782aa2..9360ca4c148f7a338edfc6320c68b4055aae18bb 100644 |
--- a/test/unittests/compiler/instruction-sequence-unittest.cc |
+++ b/test/unittests/compiler/instruction-sequence-unittest.cc |
@@ -15,10 +15,9 @@ namespace compiler { |
static const char* |
general_register_names_[RegisterConfiguration::kMaxGeneralRegisters]; |
static const char* |
- double_register_names_[RegisterConfiguration::kMaxDoubleRegisters]; |
+ double_register_names_[RegisterConfiguration::kMaxFPRegisters]; |
static char register_names_[10 * (RegisterConfiguration::kMaxGeneralRegisters + |
- RegisterConfiguration::kMaxDoubleRegisters)]; |
- |
+ RegisterConfiguration::kMaxFPRegisters)]; |
namespace { |
static int allocatable_codes[InstructionSequenceTest::kDefaultNRegs] = { |
@@ -35,7 +34,7 @@ static void InitializeRegisterNames() { |
loc += base::OS::SNPrintF(loc, 100, "gp_%d", i); |
*loc++ = 0; |
} |
- for (int i = 0; i < RegisterConfiguration::kMaxDoubleRegisters; ++i) { |
+ for (int i = 0; i < RegisterConfiguration::kMaxFPRegisters; ++i) { |
double_register_names_[i] = loc; |
loc += base::OS::SNPrintF(loc, 100, "fp_%d", i) + 1; |
*loc++ = 0; |