OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "src/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #if V8_TARGET_ARCH_MIPS | 7 #if V8_TARGET_ARCH_MIPS |
8 | 8 |
9 #include "src/interface-descriptors.h" | 9 #include "src/interface-descriptors.h" |
10 | 10 |
(...skipping 18 matching lines...) Expand all Loading... |
29 | 29 |
30 const Register VectorStoreICTrampolineDescriptor::SlotRegister() { return t0; } | 30 const Register VectorStoreICTrampolineDescriptor::SlotRegister() { return t0; } |
31 | 31 |
32 | 32 |
33 const Register VectorStoreICDescriptor::VectorRegister() { return a3; } | 33 const Register VectorStoreICDescriptor::VectorRegister() { return a3; } |
34 | 34 |
35 | 35 |
36 const Register StoreTransitionDescriptor::MapRegister() { return a3; } | 36 const Register StoreTransitionDescriptor::MapRegister() { return a3; } |
37 | 37 |
38 | 38 |
| 39 const Register LoadGlobalViaContextDescriptor::DepthRegister() { return a1; } |
| 40 const Register LoadGlobalViaContextDescriptor::SlotRegister() { return a2; } |
| 41 const Register LoadGlobalViaContextDescriptor::NameRegister() { return a3; } |
| 42 |
| 43 |
| 44 const Register StoreGlobalViaContextDescriptor::DepthRegister() { return a1; } |
| 45 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return a2; } |
| 46 const Register StoreGlobalViaContextDescriptor::NameRegister() { return a3; } |
| 47 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return a0; } |
| 48 |
| 49 |
39 const Register ElementTransitionAndStoreDescriptor::MapRegister() { return a3; } | 50 const Register ElementTransitionAndStoreDescriptor::MapRegister() { return a3; } |
40 | 51 |
41 | 52 |
42 const Register InstanceofDescriptor::left() { return a0; } | 53 const Register InstanceofDescriptor::left() { return a0; } |
43 const Register InstanceofDescriptor::right() { return a1; } | 54 const Register InstanceofDescriptor::right() { return a1; } |
44 | 55 |
45 | 56 |
46 const Register ArgumentsAccessReadDescriptor::index() { return a1; } | 57 const Register ArgumentsAccessReadDescriptor::index() { return a1; } |
47 const Register ArgumentsAccessReadDescriptor::parameter_count() { return a0; } | 58 const Register ArgumentsAccessReadDescriptor::parameter_count() { return a0; } |
48 | 59 |
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
335 Register registers[] = { | 346 Register registers[] = { |
336 a1, // math rounding function | 347 a1, // math rounding function |
337 a3, // vector slot id | 348 a3, // vector slot id |
338 }; | 349 }; |
339 data->InitializePlatformSpecific(arraysize(registers), registers); | 350 data->InitializePlatformSpecific(arraysize(registers), registers); |
340 } | 351 } |
341 } // namespace internal | 352 } // namespace internal |
342 } // namespace v8 | 353 } // namespace v8 |
343 | 354 |
344 #endif // V8_TARGET_ARCH_MIPS | 355 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |