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

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

Issue 1476413003: Provide call counts for constructor calls, surface them as a vector IC. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE. Created 5 years 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/ic.cc ('k') | src/log.h » ('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 20 matching lines...) Expand all
31 V(NumberToString) \ 31 V(NumberToString) \
32 V(Typeof) \ 32 V(Typeof) \
33 V(FastCloneRegExp) \ 33 V(FastCloneRegExp) \
34 V(FastCloneShallowArray) \ 34 V(FastCloneShallowArray) \
35 V(FastCloneShallowObject) \ 35 V(FastCloneShallowObject) \
36 V(CreateAllocationSite) \ 36 V(CreateAllocationSite) \
37 V(CreateWeakCell) \ 37 V(CreateWeakCell) \
38 V(CallFunction) \ 38 V(CallFunction) \
39 V(CallFunctionWithFeedback) \ 39 V(CallFunctionWithFeedback) \
40 V(CallFunctionWithFeedbackAndVector) \ 40 V(CallFunctionWithFeedbackAndVector) \
41 V(CallConstruct) \ 41 V(Construct) \
42 V(CallTrampoline) \ 42 V(CallTrampoline) \
43 V(ConstructTrampoline) \ 43 V(ConstructTrampoline) \
44 V(RegExpConstructResult) \ 44 V(RegExpConstructResult) \
45 V(TransitionElementsKind) \ 45 V(TransitionElementsKind) \
46 V(AllocateHeapNumber) \ 46 V(AllocateHeapNumber) \
47 V(AllocateMutableHeapNumber) \ 47 V(AllocateMutableHeapNumber) \
48 V(AllocateInNewSpace) \ 48 V(AllocateInNewSpace) \
49 V(ArrayConstructorConstantArgCount) \ 49 V(ArrayConstructorConstantArgCount) \
50 V(ArrayConstructor) \ 50 V(ArrayConstructor) \
51 V(InternalArrayConstructorConstantArgCount) \ 51 V(InternalArrayConstructorConstantArgCount) \
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 488
489 489
490 class CallFunctionWithFeedbackAndVectorDescriptor 490 class CallFunctionWithFeedbackAndVectorDescriptor
491 : public CallInterfaceDescriptor { 491 : public CallInterfaceDescriptor {
492 public: 492 public:
493 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE( 493 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(
494 CallFunctionWithFeedbackAndVectorDescriptor, CallInterfaceDescriptor) 494 CallFunctionWithFeedbackAndVectorDescriptor, CallInterfaceDescriptor)
495 }; 495 };
496 496
497 497
498 class CallConstructDescriptor : public CallInterfaceDescriptor { 498 class ConstructDescriptor : public CallInterfaceDescriptor {
499 public: 499 public:
500 DECLARE_DESCRIPTOR(CallConstructDescriptor, CallInterfaceDescriptor) 500 DECLARE_DESCRIPTOR(ConstructDescriptor, CallInterfaceDescriptor)
501 }; 501 };
502 502
503 503
504 class RegExpConstructResultDescriptor : public CallInterfaceDescriptor { 504 class RegExpConstructResultDescriptor : public CallInterfaceDescriptor {
505 public: 505 public:
506 DECLARE_DESCRIPTOR(RegExpConstructResultDescriptor, CallInterfaceDescriptor) 506 DECLARE_DESCRIPTOR(RegExpConstructResultDescriptor, CallInterfaceDescriptor)
507 }; 507 };
508 508
509 509
510 class LoadGlobalViaContextDescriptor : public CallInterfaceDescriptor { 510 class LoadGlobalViaContextDescriptor : public CallInterfaceDescriptor {
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
786 } // namespace v8 786 } // namespace v8
787 787
788 788
789 #if V8_TARGET_ARCH_ARM64 789 #if V8_TARGET_ARCH_ARM64
790 #include "src/arm64/interface-descriptors-arm64.h" 790 #include "src/arm64/interface-descriptors-arm64.h"
791 #elif V8_TARGET_ARCH_ARM 791 #elif V8_TARGET_ARCH_ARM
792 #include "src/arm/interface-descriptors-arm.h" 792 #include "src/arm/interface-descriptors-arm.h"
793 #endif 793 #endif
794 794
795 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ 795 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_
OLDNEW
« no previous file with comments | « src/ic/ic.cc ('k') | src/log.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698