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 |
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
367 static const Register ReceiverRegister(); | 367 static const Register ReceiverRegister(); |
368 static const Register NameRegister(); | 368 static const Register NameRegister(); |
369 static const Register SlotRegister(); | 369 static const Register SlotRegister(); |
370 }; | 370 }; |
371 | 371 |
372 class LoadGlobalDescriptor : public CallInterfaceDescriptor { | 372 class LoadGlobalDescriptor : public CallInterfaceDescriptor { |
373 public: | 373 public: |
374 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(LoadGlobalDescriptor, | 374 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(LoadGlobalDescriptor, |
375 CallInterfaceDescriptor) | 375 CallInterfaceDescriptor) |
376 | 376 |
377 enum ParameterIndices { kNameIndex, kSlotIndex }; | 377 enum ParameterIndices { kSlotIndex }; |
378 }; | 378 }; |
379 | 379 |
380 class LoadGlobalWithVectorDescriptor : public CallInterfaceDescriptor { | 380 class LoadGlobalWithVectorDescriptor : public CallInterfaceDescriptor { |
381 public: | 381 public: |
382 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(LoadGlobalWithVectorDescriptor, | 382 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(LoadGlobalWithVectorDescriptor, |
383 CallInterfaceDescriptor) | 383 CallInterfaceDescriptor) |
384 | 384 |
385 enum ParameterIndices { kNameIndex, kSlotIndex, kVectorIndex }; | 385 enum ParameterIndices { kSlotIndex, kVectorIndex }; |
386 }; | 386 }; |
387 | 387 |
388 class StoreDescriptor : public CallInterfaceDescriptor { | 388 class StoreDescriptor : public CallInterfaceDescriptor { |
389 public: | 389 public: |
390 DECLARE_DESCRIPTOR(StoreDescriptor, CallInterfaceDescriptor) | 390 DECLARE_DESCRIPTOR(StoreDescriptor, CallInterfaceDescriptor) |
391 | 391 |
392 enum ParameterIndices { | 392 enum ParameterIndices { |
393 kReceiverIndex, | 393 kReceiverIndex, |
394 kNameIndex, | 394 kNameIndex, |
395 kValueIndex, | 395 kValueIndex, |
(...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
932 } // namespace v8 | 932 } // namespace v8 |
933 | 933 |
934 | 934 |
935 #if V8_TARGET_ARCH_ARM64 | 935 #if V8_TARGET_ARCH_ARM64 |
936 #include "src/arm64/interface-descriptors-arm64.h" | 936 #include "src/arm64/interface-descriptors-arm64.h" |
937 #elif V8_TARGET_ARCH_ARM | 937 #elif V8_TARGET_ARCH_ARM |
938 #include "src/arm/interface-descriptors-arm.h" | 938 #include "src/arm/interface-descriptors-arm.h" |
939 #endif | 939 #endif |
940 | 940 |
941 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ | 941 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ |
OLD | NEW |