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 10 matching lines...) Expand all Loading... |
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) \ |
30 V(CreateAllocationSite) \ | 30 V(CreateAllocationSite) \ |
31 V(CreateWeakCell) \ | |
32 V(CallFunction) \ | 31 V(CallFunction) \ |
33 V(CallFunctionWithFeedback) \ | 32 V(CallFunctionWithFeedback) \ |
34 V(CallFunctionWithFeedbackAndVector) \ | 33 V(CallFunctionWithFeedbackAndVector) \ |
35 V(CallConstruct) \ | 34 V(CallConstruct) \ |
36 V(RegExpConstructResult) \ | 35 V(RegExpConstructResult) \ |
37 V(TransitionElementsKind) \ | 36 V(TransitionElementsKind) \ |
38 V(AllocateHeapNumber) \ | 37 V(AllocateHeapNumber) \ |
39 V(ArrayConstructorConstantArgCount) \ | 38 V(ArrayConstructorConstantArgCount) \ |
40 V(ArrayConstructor) \ | 39 V(ArrayConstructor) \ |
41 V(InternalArrayConstructorConstantArgCount) \ | 40 V(InternalArrayConstructorConstantArgCount) \ |
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 DECLARE_DESCRIPTOR(FastCloneShallowObjectDescriptor, CallInterfaceDescriptor) | 311 DECLARE_DESCRIPTOR(FastCloneShallowObjectDescriptor, CallInterfaceDescriptor) |
313 }; | 312 }; |
314 | 313 |
315 | 314 |
316 class CreateAllocationSiteDescriptor : public CallInterfaceDescriptor { | 315 class CreateAllocationSiteDescriptor : public CallInterfaceDescriptor { |
317 public: | 316 public: |
318 DECLARE_DESCRIPTOR(CreateAllocationSiteDescriptor, CallInterfaceDescriptor) | 317 DECLARE_DESCRIPTOR(CreateAllocationSiteDescriptor, CallInterfaceDescriptor) |
319 }; | 318 }; |
320 | 319 |
321 | 320 |
322 class CreateWeakCellDescriptor : public CallInterfaceDescriptor { | |
323 public: | |
324 enum ParameterIndices { | |
325 kVectorIndex, | |
326 kSlotIndex, | |
327 kValueIndex, | |
328 kParameterCount | |
329 }; | |
330 | |
331 DECLARE_DESCRIPTOR(CreateWeakCellDescriptor, CallInterfaceDescriptor) | |
332 }; | |
333 | |
334 | |
335 class CallFunctionDescriptor : public CallInterfaceDescriptor { | 321 class CallFunctionDescriptor : public CallInterfaceDescriptor { |
336 public: | 322 public: |
337 DECLARE_DESCRIPTOR(CallFunctionDescriptor, CallInterfaceDescriptor) | 323 DECLARE_DESCRIPTOR(CallFunctionDescriptor, CallInterfaceDescriptor) |
338 }; | 324 }; |
339 | 325 |
340 | 326 |
341 class CallFunctionWithFeedbackDescriptor : public CallInterfaceDescriptor { | 327 class CallFunctionWithFeedbackDescriptor : public CallInterfaceDescriptor { |
342 public: | 328 public: |
343 DECLARE_DESCRIPTOR(CallFunctionWithFeedbackDescriptor, | 329 DECLARE_DESCRIPTOR(CallFunctionWithFeedbackDescriptor, |
344 CallInterfaceDescriptor) | 330 CallInterfaceDescriptor) |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
531 } // namespace v8::internal | 517 } // namespace v8::internal |
532 | 518 |
533 | 519 |
534 #if V8_TARGET_ARCH_ARM64 | 520 #if V8_TARGET_ARCH_ARM64 |
535 #include "src/arm64/interface-descriptors-arm64.h" | 521 #include "src/arm64/interface-descriptors-arm64.h" |
536 #elif V8_TARGET_ARCH_ARM | 522 #elif V8_TARGET_ARCH_ARM |
537 #include "src/arm/interface-descriptors-arm.h" | 523 #include "src/arm/interface-descriptors-arm.h" |
538 #endif | 524 #endif |
539 | 525 |
540 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ | 526 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ |
OLD | NEW |