| 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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 }; | 141 }; |
| 142 | 142 |
| 143 // r7: context register | 143 // r7: context register |
| 144 // r8: constant pool pointer register if FLAG_enable_embedded_constant_pool. | 144 // r8: constant pool pointer register if FLAG_enable_embedded_constant_pool. |
| 145 // r9: lithium scratch | 145 // r9: lithium scratch |
| 146 #define DECLARE_REGISTER(R) const Register R = {Register::kCode_##R}; | 146 #define DECLARE_REGISTER(R) const Register R = {Register::kCode_##R}; |
| 147 GENERAL_REGISTERS(DECLARE_REGISTER) | 147 GENERAL_REGISTERS(DECLARE_REGISTER) |
| 148 #undef DECLARE_REGISTER | 148 #undef DECLARE_REGISTER |
| 149 const Register no_reg = {Register::kCode_no_reg}; | 149 const Register no_reg = {Register::kCode_no_reg}; |
| 150 | 150 |
| 151 static const bool kSimpleFPAliasing = false; |
| 152 |
| 151 // Single word VFP register. | 153 // Single word VFP register. |
| 152 struct SwVfpRegister { | 154 struct SwVfpRegister { |
| 153 enum Code { | 155 enum Code { |
| 154 #define REGISTER_CODE(R) kCode_##R, | 156 #define REGISTER_CODE(R) kCode_##R, |
| 155 FLOAT_REGISTERS(REGISTER_CODE) | 157 FLOAT_REGISTERS(REGISTER_CODE) |
| 156 #undef REGISTER_CODE | 158 #undef REGISTER_CODE |
| 157 kAfterLast, | 159 kAfterLast, |
| 158 kCode_no_reg = -1 | 160 kCode_no_reg = -1 |
| 159 }; | 161 }; |
| 160 | 162 |
| (...skipping 1533 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1694 explicit EnsureSpace(Assembler* assembler) { | 1696 explicit EnsureSpace(Assembler* assembler) { |
| 1695 assembler->CheckBuffer(); | 1697 assembler->CheckBuffer(); |
| 1696 } | 1698 } |
| 1697 }; | 1699 }; |
| 1698 | 1700 |
| 1699 | 1701 |
| 1700 } // namespace internal | 1702 } // namespace internal |
| 1701 } // namespace v8 | 1703 } // namespace v8 |
| 1702 | 1704 |
| 1703 #endif // V8_ARM_ASSEMBLER_ARM_H_ | 1705 #endif // V8_ARM_ASSEMBLER_ARM_H_ |
| OLD | NEW |