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

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

Issue 1325573004: [runtime] Replace many buggy uses of %_CallFunction with %_Call. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Address feedback. Created 5 years, 3 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/ia32/interface-descriptors-ia32.cc ('k') | src/interface-descriptors.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 19 matching lines...) Expand all
30 V(NumberToString) \ 30 V(NumberToString) \
31 V(Typeof) \ 31 V(Typeof) \
32 V(FastCloneShallowArray) \ 32 V(FastCloneShallowArray) \
33 V(FastCloneShallowObject) \ 33 V(FastCloneShallowObject) \
34 V(CreateAllocationSite) \ 34 V(CreateAllocationSite) \
35 V(CreateWeakCell) \ 35 V(CreateWeakCell) \
36 V(CallFunction) \ 36 V(CallFunction) \
37 V(CallFunctionWithFeedback) \ 37 V(CallFunctionWithFeedback) \
38 V(CallFunctionWithFeedbackAndVector) \ 38 V(CallFunctionWithFeedbackAndVector) \
39 V(CallConstruct) \ 39 V(CallConstruct) \
40 V(CallTrampoline) \
40 V(RegExpConstructResult) \ 41 V(RegExpConstructResult) \
41 V(TransitionElementsKind) \ 42 V(TransitionElementsKind) \
42 V(AllocateHeapNumber) \ 43 V(AllocateHeapNumber) \
43 V(ArrayConstructorConstantArgCount) \ 44 V(ArrayConstructorConstantArgCount) \
44 V(ArrayConstructor) \ 45 V(ArrayConstructor) \
45 V(InternalArrayConstructorConstantArgCount) \ 46 V(InternalArrayConstructorConstantArgCount) \
46 V(InternalArrayConstructor) \ 47 V(InternalArrayConstructor) \
47 V(Compare) \ 48 V(Compare) \
48 V(CompareNil) \ 49 V(CompareNil) \
49 V(ToBoolean) \ 50 V(ToBoolean) \
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 kSlotIndex, 424 kSlotIndex,
424 kValueIndex, 425 kValueIndex,
425 kParameterCount 426 kParameterCount
426 }; 427 };
427 428
428 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(CreateWeakCellDescriptor, 429 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(CreateWeakCellDescriptor,
429 CallInterfaceDescriptor) 430 CallInterfaceDescriptor)
430 }; 431 };
431 432
432 433
434 class CallTrampolineDescriptor : public CallInterfaceDescriptor {
435 public:
436 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(CallTrampolineDescriptor,
437 CallInterfaceDescriptor)
438 };
439
440
433 class CallFunctionDescriptor : public CallInterfaceDescriptor { 441 class CallFunctionDescriptor : public CallInterfaceDescriptor {
434 public: 442 public:
435 DECLARE_DESCRIPTOR(CallFunctionDescriptor, CallInterfaceDescriptor) 443 DECLARE_DESCRIPTOR(CallFunctionDescriptor, CallInterfaceDescriptor)
436 }; 444 };
437 445
438 446
439 class CallFunctionWithFeedbackDescriptor : public CallInterfaceDescriptor { 447 class CallFunctionWithFeedbackDescriptor : public CallInterfaceDescriptor {
440 public: 448 public:
441 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE( 449 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(
442 CallFunctionWithFeedbackDescriptor, CallInterfaceDescriptor) 450 CallFunctionWithFeedbackDescriptor, CallInterfaceDescriptor)
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
686 } // namespace v8::internal 694 } // namespace v8::internal
687 695
688 696
689 #if V8_TARGET_ARCH_ARM64 697 #if V8_TARGET_ARCH_ARM64
690 #include "src/arm64/interface-descriptors-arm64.h" 698 #include "src/arm64/interface-descriptors-arm64.h"
691 #elif V8_TARGET_ARCH_ARM 699 #elif V8_TARGET_ARCH_ARM
692 #include "src/arm/interface-descriptors-arm.h" 700 #include "src/arm/interface-descriptors-arm.h"
693 #endif 701 #endif
694 702
695 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ 703 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_
OLDNEW
« no previous file with comments | « src/ia32/interface-descriptors-ia32.cc ('k') | src/interface-descriptors.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698