| OLD | NEW |
| 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. | 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. |
| 2 // All Rights Reserved. | 2 // All Rights Reserved. |
| 3 // | 3 // |
| 4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
| 5 // modification, are permitted provided that the following conditions are | 5 // modification, are permitted provided that the following conditions are |
| 6 // met: | 6 // met: |
| 7 // | 7 // |
| 8 // - Redistributions of source code must retain the above copyright notice, | 8 // - Redistributions of source code must retain the above copyright notice, |
| 9 // this list of conditions and the following disclaimer. | 9 // this list of conditions and the following disclaimer. |
| 10 // | 10 // |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 #define DECLARE_REGISTER(R) const Register R = {Register::kCode_##R}; | 149 #define DECLARE_REGISTER(R) const Register R = {Register::kCode_##R}; |
| 150 GENERAL_REGISTERS(DECLARE_REGISTER) | 150 GENERAL_REGISTERS(DECLARE_REGISTER) |
| 151 #undef DECLARE_REGISTER | 151 #undef DECLARE_REGISTER |
| 152 const Register no_reg = {Register::kCode_no_reg}; | 152 const Register no_reg = {Register::kCode_no_reg}; |
| 153 | 153 |
| 154 | 154 |
| 155 int ToNumber(Register reg); | 155 int ToNumber(Register reg); |
| 156 | 156 |
| 157 Register ToRegister(int num); | 157 Register ToRegister(int num); |
| 158 | 158 |
| 159 static const bool kSimpleFPAliasing = true; |
| 160 |
| 159 // Coprocessor register. | 161 // Coprocessor register. |
| 160 struct FPURegister { | 162 struct FPURegister { |
| 161 enum Code { | 163 enum Code { |
| 162 #define REGISTER_CODE(R) kCode_##R, | 164 #define REGISTER_CODE(R) kCode_##R, |
| 163 DOUBLE_REGISTERS(REGISTER_CODE) | 165 DOUBLE_REGISTERS(REGISTER_CODE) |
| 164 #undef REGISTER_CODE | 166 #undef REGISTER_CODE |
| 165 kAfterLast, | 167 kAfterLast, |
| 166 kCode_no_reg = -1 | 168 kCode_no_reg = -1 |
| 167 }; | 169 }; |
| 168 | 170 |
| (...skipping 1352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1521 public: | 1523 public: |
| 1522 explicit EnsureSpace(Assembler* assembler) { | 1524 explicit EnsureSpace(Assembler* assembler) { |
| 1523 assembler->CheckBuffer(); | 1525 assembler->CheckBuffer(); |
| 1524 } | 1526 } |
| 1525 }; | 1527 }; |
| 1526 | 1528 |
| 1527 } // namespace internal | 1529 } // namespace internal |
| 1528 } // namespace v8 | 1530 } // namespace v8 |
| 1529 | 1531 |
| 1530 #endif // V8_ARM_ASSEMBLER_MIPS_H_ | 1532 #endif // V8_ARM_ASSEMBLER_MIPS_H_ |
| OLD | NEW |