| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef V8_CALL_INTERFACE_DESCRIPTOR_H_ | 5 #ifndef V8_CALL_INTERFACE_DESCRIPTOR_H_ |
| 6 #define V8_CALL_INTERFACE_DESCRIPTOR_H_ | 6 #define V8_CALL_INTERFACE_DESCRIPTOR_H_ |
| 7 | 7 |
| 8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
| 9 #include "src/macro-assembler.h" | 9 #include "src/macro-assembler.h" |
| 10 | 10 |
| 11 namespace v8 { | 11 namespace v8 { |
| 12 namespace internal { | 12 namespace internal { |
| 13 | 13 |
| 14 class PlatformInterfaceDescriptor; | 14 class PlatformInterfaceDescriptor; |
| 15 | 15 |
| 16 #define INTERFACE_DESCRIPTOR_LIST(V) \ | 16 #define INTERFACE_DESCRIPTOR_LIST(V) \ |
| 17 V(Load) \ | 17 V(Load) \ |
| 18 V(Store) \ | 18 V(Store) \ |
| 19 V(ExtendStorage) \ |
| 19 V(ElementTransitionAndStore) \ | 20 V(ElementTransitionAndStore) \ |
| 20 V(Instanceof) \ | 21 V(Instanceof) \ |
| 21 V(VectorLoadICTrampoline) \ | 22 V(VectorLoadICTrampoline) \ |
| 22 V(VectorLoadIC) \ | 23 V(VectorLoadIC) \ |
| 23 V(FastNewClosure) \ | 24 V(FastNewClosure) \ |
| 24 V(FastNewContext) \ | 25 V(FastNewContext) \ |
| 25 V(ToNumber) \ | 26 V(ToNumber) \ |
| 26 V(NumberToString) \ | 27 V(NumberToString) \ |
| 27 V(FastCloneShallowArray) \ | 28 V(FastCloneShallowArray) \ |
| 28 V(FastCloneShallowObject) \ | 29 V(FastCloneShallowObject) \ |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 kNameIndex, | 207 kNameIndex, |
| 207 kValueIndex, | 208 kValueIndex, |
| 208 kParameterCount | 209 kParameterCount |
| 209 }; | 210 }; |
| 210 static const Register ReceiverRegister(); | 211 static const Register ReceiverRegister(); |
| 211 static const Register NameRegister(); | 212 static const Register NameRegister(); |
| 212 static const Register ValueRegister(); | 213 static const Register ValueRegister(); |
| 213 }; | 214 }; |
| 214 | 215 |
| 215 | 216 |
| 217 class ExtendStorageDescriptor : public StoreDescriptor { |
| 218 public: |
| 219 DECLARE_DESCRIPTOR(ExtendStorageDescriptor, StoreDescriptor) |
| 220 |
| 221 enum ParameterIndices { |
| 222 kReceiverIndex, |
| 223 kMapIndex, |
| 224 kValueIndex, |
| 225 kParameterCount |
| 226 }; |
| 227 static const Register MapRegister(); |
| 228 }; |
| 229 |
| 230 |
| 216 class ElementTransitionAndStoreDescriptor : public StoreDescriptor { | 231 class ElementTransitionAndStoreDescriptor : public StoreDescriptor { |
| 217 public: | 232 public: |
| 218 DECLARE_DESCRIPTOR(ElementTransitionAndStoreDescriptor, StoreDescriptor) | 233 DECLARE_DESCRIPTOR(ElementTransitionAndStoreDescriptor, StoreDescriptor) |
| 219 | 234 |
| 220 static const Register MapRegister(); | 235 static const Register MapRegister(); |
| 221 }; | 236 }; |
| 222 | 237 |
| 223 | 238 |
| 224 class InstanceofDescriptor : public CallInterfaceDescriptor { | 239 class InstanceofDescriptor : public CallInterfaceDescriptor { |
| 225 public: | 240 public: |
| (...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 477 } // namespace v8::internal | 492 } // namespace v8::internal |
| 478 | 493 |
| 479 | 494 |
| 480 #if V8_TARGET_ARCH_ARM64 | 495 #if V8_TARGET_ARCH_ARM64 |
| 481 #include "src/arm64/interface-descriptors-arm64.h" | 496 #include "src/arm64/interface-descriptors-arm64.h" |
| 482 #elif V8_TARGET_ARCH_ARM | 497 #elif V8_TARGET_ARCH_ARM |
| 483 #include "src/arm/interface-descriptors-arm.h" | 498 #include "src/arm/interface-descriptors-arm.h" |
| 484 #endif | 499 #endif |
| 485 | 500 |
| 486 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ | 501 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ |
| OLD | NEW |