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

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

Issue 1475823003: [runtime] First step to sanitize regexp literal creation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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
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 12 matching lines...) Expand all
23 V(InstanceOf) \ 23 V(InstanceOf) \
24 V(LoadWithVector) \ 24 V(LoadWithVector) \
25 V(FastNewClosure) \ 25 V(FastNewClosure) \
26 V(FastNewContext) \ 26 V(FastNewContext) \
27 V(ToNumber) \ 27 V(ToNumber) \
28 V(ToLength) \ 28 V(ToLength) \
29 V(ToString) \ 29 V(ToString) \
30 V(ToObject) \ 30 V(ToObject) \
31 V(NumberToString) \ 31 V(NumberToString) \
32 V(Typeof) \ 32 V(Typeof) \
33 V(FastCloneRegExp) \
33 V(FastCloneShallowArray) \ 34 V(FastCloneShallowArray) \
34 V(FastCloneShallowObject) \ 35 V(FastCloneShallowObject) \
35 V(CreateAllocationSite) \ 36 V(CreateAllocationSite) \
36 V(CreateWeakCell) \ 37 V(CreateWeakCell) \
37 V(CallFunction) \ 38 V(CallFunction) \
38 V(CallFunctionWithFeedback) \ 39 V(CallFunctionWithFeedback) \
39 V(CallFunctionWithFeedbackAndVector) \ 40 V(CallFunctionWithFeedbackAndVector) \
40 V(CallConstruct) \ 41 V(CallConstruct) \
41 V(CallTrampoline) \ 42 V(CallTrampoline) \
42 V(ConstructTrampoline) \ 43 V(ConstructTrampoline) \
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 DECLARE_DESCRIPTOR(NumberToStringDescriptor, CallInterfaceDescriptor) 412 DECLARE_DESCRIPTOR(NumberToStringDescriptor, CallInterfaceDescriptor)
412 }; 413 };
413 414
414 415
415 class TypeofDescriptor : public CallInterfaceDescriptor { 416 class TypeofDescriptor : public CallInterfaceDescriptor {
416 public: 417 public:
417 DECLARE_DESCRIPTOR(TypeofDescriptor, CallInterfaceDescriptor) 418 DECLARE_DESCRIPTOR(TypeofDescriptor, CallInterfaceDescriptor)
418 }; 419 };
419 420
420 421
422 class FastCloneRegExpDescriptor : public CallInterfaceDescriptor {
423 public:
424 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(FastCloneRegExpDescriptor,
425 CallInterfaceDescriptor)
426 };
427
428
421 class FastCloneShallowArrayDescriptor : public CallInterfaceDescriptor { 429 class FastCloneShallowArrayDescriptor : public CallInterfaceDescriptor {
422 public: 430 public:
423 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(FastCloneShallowArrayDescriptor, 431 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(FastCloneShallowArrayDescriptor,
424 CallInterfaceDescriptor) 432 CallInterfaceDescriptor)
425 }; 433 };
426 434
427 435
428 class FastCloneShallowObjectDescriptor : public CallInterfaceDescriptor { 436 class FastCloneShallowObjectDescriptor : public CallInterfaceDescriptor {
429 public: 437 public:
430 DECLARE_DESCRIPTOR(FastCloneShallowObjectDescriptor, CallInterfaceDescriptor) 438 DECLARE_DESCRIPTOR(FastCloneShallowObjectDescriptor, CallInterfaceDescriptor)
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
778 } // namespace v8 786 } // namespace v8
779 787
780 788
781 #if V8_TARGET_ARCH_ARM64 789 #if V8_TARGET_ARCH_ARM64
782 #include "src/arm64/interface-descriptors-arm64.h" 790 #include "src/arm64/interface-descriptors-arm64.h"
783 #elif V8_TARGET_ARCH_ARM 791 #elif V8_TARGET_ARCH_ARM
784 #include "src/arm/interface-descriptors-arm.h" 792 #include "src/arm/interface-descriptors-arm.h"
785 #endif 793 #endif
786 794
787 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ 795 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698