| Index: src/mips/constants-mips.cc
|
| diff --git a/src/mips/constants-mips.cc b/src/mips/constants-mips.cc
|
| index ddfa891326724b07eb203464cc5e021010b5fe34..2dd7a31f388c2a9a00831abba0f20a091bb64e2b 100644
|
| --- a/src/mips/constants-mips.cc
|
| +++ b/src/mips/constants-mips.cc
|
| @@ -27,7 +27,7 @@
|
|
|
| #include "v8.h"
|
|
|
| -#if defined(V8_TARGET_ARCH_MIPS)
|
| +#if V8_TARGET_ARCH_MIPS
|
|
|
| #include "constants-mips.h"
|
|
|
| @@ -58,6 +58,7 @@ const char* Registers::names_[kNumSimuRegisters] = {
|
| "pc"
|
| };
|
|
|
| +
|
| // List of alias names which can be used when referring to MIPS registers.
|
| const Registers::RegisterAlias Registers::aliases_[] = {
|
| {0, "zero"},
|
| @@ -67,6 +68,7 @@ const Registers::RegisterAlias Registers::aliases_[] = {
|
| {kInvalidRegister, NULL}
|
| };
|
|
|
| +
|
| const char* Registers::Name(int reg) {
|
| const char* result;
|
| if ((0 <= reg) && (reg < kNumSimuRegisters)) {
|
| @@ -106,11 +108,13 @@ const char* FPURegisters::names_[kNumFPURegisters] = {
|
| "f22", "f23", "f24", "f25", "f26", "f27", "f28", "f29", "f30", "f31"
|
| };
|
|
|
| +
|
| // List of alias names which can be used when referring to MIPS registers.
|
| const FPURegisters::RegisterAlias FPURegisters::aliases_[] = {
|
| {kInvalidRegister, NULL}
|
| };
|
|
|
| +
|
| const char* FPURegisters::Name(int creg) {
|
| const char* result;
|
| if ((0 <= creg) && (creg < kNumFPURegisters)) {
|
|
|