| 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 | 5 // modification, are permitted provided that the following conditions |
| 6 // are met: | 6 // are 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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 GENERAL_REGISTERS(DECLARE_REGISTER) | 200 GENERAL_REGISTERS(DECLARE_REGISTER) |
| 201 #undef DECLARE_REGISTER | 201 #undef DECLARE_REGISTER |
| 202 const Register no_reg = {Register::kCode_no_reg}; | 202 const Register no_reg = {Register::kCode_no_reg}; |
| 203 | 203 |
| 204 // Aliases | 204 // Aliases |
| 205 const Register kLithiumScratch = r11; // lithium scratch. | 205 const Register kLithiumScratch = r11; // lithium scratch. |
| 206 const Register kConstantPoolRegister = r28; // Constant pool. | 206 const Register kConstantPoolRegister = r28; // Constant pool. |
| 207 const Register kRootRegister = r29; // Roots array pointer. | 207 const Register kRootRegister = r29; // Roots array pointer. |
| 208 const Register cp = r30; // JavaScript context pointer. | 208 const Register cp = r30; // JavaScript context pointer. |
| 209 | 209 |
| 210 static const bool kSimpleFPAliasing = true; |
| 211 |
| 210 // Double word FP register. | 212 // Double word FP register. |
| 211 struct DoubleRegister { | 213 struct DoubleRegister { |
| 212 enum Code { | 214 enum Code { |
| 213 #define REGISTER_CODE(R) kCode_##R, | 215 #define REGISTER_CODE(R) kCode_##R, |
| 214 DOUBLE_REGISTERS(REGISTER_CODE) | 216 DOUBLE_REGISTERS(REGISTER_CODE) |
| 215 #undef REGISTER_CODE | 217 #undef REGISTER_CODE |
| 216 kAfterLast, | 218 kAfterLast, |
| 217 kCode_no_reg = -1 | 219 kCode_no_reg = -1 |
| 218 }; | 220 }; |
| 219 | 221 |
| (...skipping 1261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1481 | 1483 |
| 1482 | 1484 |
| 1483 class EnsureSpace BASE_EMBEDDED { | 1485 class EnsureSpace BASE_EMBEDDED { |
| 1484 public: | 1486 public: |
| 1485 explicit EnsureSpace(Assembler* assembler) { assembler->CheckBuffer(); } | 1487 explicit EnsureSpace(Assembler* assembler) { assembler->CheckBuffer(); } |
| 1486 }; | 1488 }; |
| 1487 } // namespace internal | 1489 } // namespace internal |
| 1488 } // namespace v8 | 1490 } // namespace v8 |
| 1489 | 1491 |
| 1490 #endif // V8_PPC_ASSEMBLER_PPC_H_ | 1492 #endif // V8_PPC_ASSEMBLER_PPC_H_ |
| OLD | NEW |