| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_PPC_CONSTANTS_PPC_H_ | 5 #ifndef V8_PPC_CONSTANTS_PPC_H_ |
| 6 #define V8_PPC_CONSTANTS_PPC_H_ | 6 #define V8_PPC_CONSTANTS_PPC_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "src/base/logging.h" | 10 #include "src/base/logging.h" |
| (...skipping 574 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 585 public: | 585 public: |
| 586 // Return the name of the register. | 586 // Return the name of the register. |
| 587 static const char* Name(int reg); | 587 static const char* Name(int reg); |
| 588 | 588 |
| 589 // Lookup the register number for the name provided. | 589 // Lookup the register number for the name provided. |
| 590 static int Number(const char* name); | 590 static int Number(const char* name); |
| 591 | 591 |
| 592 private: | 592 private: |
| 593 static const char* names_[kNumFPRegisters]; | 593 static const char* names_[kNumFPRegisters]; |
| 594 }; | 594 }; |
| 595 } | 595 } // namespace internal |
| 596 } // namespace v8::internal | 596 } // namespace v8 |
| 597 | 597 |
| 598 #endif // V8_PPC_CONSTANTS_PPC_H_ | 598 #endif // V8_PPC_CONSTANTS_PPC_H_ |
| OLD | NEW |