| 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(StoreTransition) \ |
| 20 V(ElementTransitionAndStore) \ | 20 V(ElementTransitionAndStore) \ |
| 21 V(Instanceof) \ | 21 V(Instanceof) \ |
| 22 V(VectorLoadICTrampoline) \ | 22 V(VectorLoadICTrampoline) \ |
| 23 V(VectorLoadIC) \ | 23 V(VectorLoadIC) \ |
| 24 V(FastNewClosure) \ | 24 V(FastNewClosure) \ |
| 25 V(FastNewContext) \ | 25 V(FastNewContext) \ |
| 26 V(ToNumber) \ | 26 V(ToNumber) \ |
| 27 V(NumberToString) \ | 27 V(NumberToString) \ |
| 28 V(FastCloneShallowArray) \ | 28 V(FastCloneShallowArray) \ |
| 29 V(FastCloneShallowObject) \ | 29 V(FastCloneShallowObject) \ |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 kNameIndex, | 207 kNameIndex, |
| 208 kValueIndex, | 208 kValueIndex, |
| 209 kParameterCount | 209 kParameterCount |
| 210 }; | 210 }; |
| 211 static const Register ReceiverRegister(); | 211 static const Register ReceiverRegister(); |
| 212 static const Register NameRegister(); | 212 static const Register NameRegister(); |
| 213 static const Register ValueRegister(); | 213 static const Register ValueRegister(); |
| 214 }; | 214 }; |
| 215 | 215 |
| 216 | 216 |
| 217 class ExtendStorageDescriptor : public StoreDescriptor { | 217 class StoreTransitionDescriptor : public StoreDescriptor { |
| 218 public: | 218 public: |
| 219 DECLARE_DESCRIPTOR(ExtendStorageDescriptor, StoreDescriptor) | 219 DECLARE_DESCRIPTOR(StoreTransitionDescriptor, StoreDescriptor) |
| 220 | 220 |
| 221 // Extends StoreDescriptor with Map parameter. | 221 // Extends StoreDescriptor with Map parameter. |
| 222 enum ParameterIndices { | 222 enum ParameterIndices { |
| 223 kReceiverIndex, | 223 kReceiverIndex, |
| 224 kNameIndex, | 224 kNameIndex, |
| 225 kValueIndex, | 225 kValueIndex, |
| 226 kMapIndex, | 226 kMapIndex, |
| 227 kParameterCount | 227 kParameterCount |
| 228 }; | 228 }; |
| 229 static const Register MapRegister(); | 229 static const Register MapRegister(); |
| (...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 494 } // namespace v8::internal | 494 } // namespace v8::internal |
| 495 | 495 |
| 496 | 496 |
| 497 #if V8_TARGET_ARCH_ARM64 | 497 #if V8_TARGET_ARCH_ARM64 |
| 498 #include "src/arm64/interface-descriptors-arm64.h" | 498 #include "src/arm64/interface-descriptors-arm64.h" |
| 499 #elif V8_TARGET_ARCH_ARM | 499 #elif V8_TARGET_ARCH_ARM |
| 500 #include "src/arm/interface-descriptors-arm.h" | 500 #include "src/arm/interface-descriptors-arm.h" |
| 501 #endif | 501 #endif |
| 502 | 502 |
| 503 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ | 503 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ |
| OLD | NEW |