Chromium Code Reviews| 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 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 295 const FPURegister f23 = { 23 }; | 295 const FPURegister f23 = { 23 }; |
| 296 const FPURegister f24 = { 24 }; | 296 const FPURegister f24 = { 24 }; |
| 297 const FPURegister f25 = { 25 }; | 297 const FPURegister f25 = { 25 }; |
| 298 const FPURegister f26 = { 26 }; | 298 const FPURegister f26 = { 26 }; |
| 299 const FPURegister f27 = { 27 }; | 299 const FPURegister f27 = { 27 }; |
| 300 const FPURegister f28 = { 28 }; | 300 const FPURegister f28 = { 28 }; |
| 301 const FPURegister f29 = { 29 }; | 301 const FPURegister f29 = { 29 }; |
| 302 const FPURegister f30 = { 30 }; | 302 const FPURegister f30 = { 30 }; |
| 303 const FPURegister f31 = { 31 }; | 303 const FPURegister f31 = { 31 }; |
| 304 | 304 |
| 305 const FPURegister kDoubleRegZero = f28; | 305 static const FPURegister kDoubleRegZero = f28; |
|
fschneider
2011/10/26 08:01:56
This should be a const-reference tp avoid the stat
| |
| 306 | 306 |
| 307 // FPU (coprocessor 1) control registers. | 307 // FPU (coprocessor 1) control registers. |
| 308 // Currently only FCSR (#31) is implemented. | 308 // Currently only FCSR (#31) is implemented. |
| 309 struct FPUControlRegister { | 309 struct FPUControlRegister { |
| 310 bool is_valid() const { return code_ == kFCSRRegister; } | 310 bool is_valid() const { return code_ == kFCSRRegister; } |
| 311 bool is(FPUControlRegister creg) const { return code_ == creg.code_; } | 311 bool is(FPUControlRegister creg) const { return code_ == creg.code_; } |
| 312 int code() const { | 312 int code() const { |
| 313 ASSERT(is_valid()); | 313 ASSERT(is_valid()); |
| 314 return code_; | 314 return code_; |
| 315 } | 315 } |
| (...skipping 938 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1254 class EnsureSpace BASE_EMBEDDED { | 1254 class EnsureSpace BASE_EMBEDDED { |
| 1255 public: | 1255 public: |
| 1256 explicit EnsureSpace(Assembler* assembler) { | 1256 explicit EnsureSpace(Assembler* assembler) { |
| 1257 assembler->CheckBuffer(); | 1257 assembler->CheckBuffer(); |
| 1258 } | 1258 } |
| 1259 }; | 1259 }; |
| 1260 | 1260 |
| 1261 } } // namespace v8::internal | 1261 } } // namespace v8::internal |
| 1262 | 1262 |
| 1263 #endif // V8_ARM_ASSEMBLER_MIPS_H_ | 1263 #endif // V8_ARM_ASSEMBLER_MIPS_H_ |
| OLD | NEW |