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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 #define DECLARE_REGISTER(R) const Register R = {Register::kCode_##R}; | 181 #define DECLARE_REGISTER(R) const Register R = {Register::kCode_##R}; |
182 GENERAL_REGISTERS(DECLARE_REGISTER) | 182 GENERAL_REGISTERS(DECLARE_REGISTER) |
183 #undef DECLARE_REGISTER | 183 #undef DECLARE_REGISTER |
184 const Register no_reg = {Register::kCode_no_reg}; | 184 const Register no_reg = {Register::kCode_no_reg}; |
185 | 185 |
186 // Register aliases | 186 // Register aliases |
187 const Register kLithiumScratch = r1; // lithium scratch. | 187 const Register kLithiumScratch = r1; // lithium scratch. |
188 const Register kRootRegister = r10; // Roots array pointer. | 188 const Register kRootRegister = r10; // Roots array pointer. |
189 const Register cp = r13; // JavaScript context pointer. | 189 const Register cp = r13; // JavaScript context pointer. |
190 | 190 |
| 191 static const bool kSimpleFPAliasing = true; |
| 192 |
191 // Double word FP register. | 193 // Double word FP register. |
192 struct DoubleRegister { | 194 struct DoubleRegister { |
193 enum Code { | 195 enum Code { |
194 #define REGISTER_CODE(R) kCode_##R, | 196 #define REGISTER_CODE(R) kCode_##R, |
195 DOUBLE_REGISTERS(REGISTER_CODE) | 197 DOUBLE_REGISTERS(REGISTER_CODE) |
196 #undef REGISTER_CODE | 198 #undef REGISTER_CODE |
197 kAfterLast, | 199 kAfterLast, |
198 kCode_no_reg = -1 | 200 kCode_no_reg = -1 |
199 }; | 201 }; |
200 | 202 |
(...skipping 1259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1460 | 1462 |
1461 class EnsureSpace BASE_EMBEDDED { | 1463 class EnsureSpace BASE_EMBEDDED { |
1462 public: | 1464 public: |
1463 explicit EnsureSpace(Assembler* assembler) { assembler->CheckBuffer(); } | 1465 explicit EnsureSpace(Assembler* assembler) { assembler->CheckBuffer(); } |
1464 }; | 1466 }; |
1465 | 1467 |
1466 } // namespace internal | 1468 } // namespace internal |
1467 } // namespace v8 | 1469 } // namespace v8 |
1468 | 1470 |
1469 #endif // V8_S390_ASSEMBLER_S390_H_ | 1471 #endif // V8_S390_ASSEMBLER_S390_H_ |
OLD | NEW |