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

Unified 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, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: src/interface-descriptors.h
diff --git a/src/interface-descriptors.h b/src/interface-descriptors.h
index e6fa4723432847d770644ebd71ea5253e303c7b8..dd1313d7276c93b308758e8c899c6beaac70731d 100644
--- a/src/interface-descriptors.h
+++ b/src/interface-descriptors.h
@@ -30,6 +30,7 @@ class PlatformInterfaceDescriptor;
V(ToObject) \
V(NumberToString) \
V(Typeof) \
+ V(FastCloneRegExp) \
V(FastCloneShallowArray) \
V(FastCloneShallowObject) \
V(CreateAllocationSite) \
@@ -418,6 +419,13 @@ class TypeofDescriptor : public CallInterfaceDescriptor {
};
+class FastCloneRegExpDescriptor : public CallInterfaceDescriptor {
+ public:
+ DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(FastCloneRegExpDescriptor,
+ CallInterfaceDescriptor)
+};
+
+
class FastCloneShallowArrayDescriptor : public CallInterfaceDescriptor {
public:
DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(FastCloneShallowArrayDescriptor,

Powered by Google App Engine
This is Rietveld 408576698