Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Side by Side Diff: src/interface-descriptors.h

Issue 836093007: split api call stubs into accessor and function call stubs (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/ic/x64/handler-compiler-x64.cc ('k') | src/x64/code-stubs-x64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 29 matching lines...) Expand all
40 V(InternalArrayConstructor) \ 40 V(InternalArrayConstructor) \
41 V(CompareNil) \ 41 V(CompareNil) \
42 V(ToBoolean) \ 42 V(ToBoolean) \
43 V(BinaryOp) \ 43 V(BinaryOp) \
44 V(BinaryOpWithAllocationSite) \ 44 V(BinaryOpWithAllocationSite) \
45 V(StringAdd) \ 45 V(StringAdd) \
46 V(Keyed) \ 46 V(Keyed) \
47 V(Named) \ 47 V(Named) \
48 V(CallHandler) \ 48 V(CallHandler) \
49 V(ArgumentAdaptor) \ 49 V(ArgumentAdaptor) \
50 V(ApiFunction) \
51 V(ApiAccessor) \
50 V(ApiGetter) \ 52 V(ApiGetter) \
51 V(ApiFunction) \
52 V(ArgumentsAccessRead) \ 53 V(ArgumentsAccessRead) \
53 V(StoreArrayLiteralElement) \ 54 V(StoreArrayLiteralElement) \
54 V(MathPowTagged) \ 55 V(MathPowTagged) \
55 V(MathPowInteger) \ 56 V(MathPowInteger) \
56 V(ContextOnly) 57 V(ContextOnly)
57 58
58 59
59 class CallInterfaceDescriptorData { 60 class CallInterfaceDescriptorData {
60 public: 61 public:
61 CallInterfaceDescriptorData() : register_param_count_(-1) {} 62 CallInterfaceDescriptorData() : register_param_count_(-1) {}
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 DECLARE_DESCRIPTOR(ArgumentAdaptorDescriptor, CallInterfaceDescriptor) 437 DECLARE_DESCRIPTOR(ArgumentAdaptorDescriptor, CallInterfaceDescriptor)
437 }; 438 };
438 439
439 440
440 class ApiFunctionDescriptor : public CallInterfaceDescriptor { 441 class ApiFunctionDescriptor : public CallInterfaceDescriptor {
441 public: 442 public:
442 DECLARE_DESCRIPTOR(ApiFunctionDescriptor, CallInterfaceDescriptor) 443 DECLARE_DESCRIPTOR(ApiFunctionDescriptor, CallInterfaceDescriptor)
443 }; 444 };
444 445
445 446
447 class ApiAccessorDescriptor : public CallInterfaceDescriptor {
448 public:
449 DECLARE_DESCRIPTOR(ApiAccessorDescriptor, CallInterfaceDescriptor)
450 };
451
452
446 class ApiGetterDescriptor : public CallInterfaceDescriptor { 453 class ApiGetterDescriptor : public CallInterfaceDescriptor {
447 public: 454 public:
448 DECLARE_DESCRIPTOR(ApiGetterDescriptor, CallInterfaceDescriptor) 455 DECLARE_DESCRIPTOR(ApiGetterDescriptor, CallInterfaceDescriptor)
449 456
450 static const Register function_address(); 457 static const Register function_address();
451 }; 458 };
452 459
453 460
454 class ArgumentsAccessReadDescriptor : public CallInterfaceDescriptor { 461 class ArgumentsAccessReadDescriptor : public CallInterfaceDescriptor {
455 public: 462 public:
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
501 } // namespace v8::internal 508 } // namespace v8::internal
502 509
503 510
504 #if V8_TARGET_ARCH_ARM64 511 #if V8_TARGET_ARCH_ARM64
505 #include "src/arm64/interface-descriptors-arm64.h" 512 #include "src/arm64/interface-descriptors-arm64.h"
506 #elif V8_TARGET_ARCH_ARM 513 #elif V8_TARGET_ARCH_ARM
507 #include "src/arm/interface-descriptors-arm.h" 514 #include "src/arm/interface-descriptors-arm.h"
508 #endif 515 #endif
509 516
510 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ 517 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_
OLDNEW
« no previous file with comments | « src/ic/x64/handler-compiler-x64.cc ('k') | src/x64/code-stubs-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698