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

Unified Diff: src/interface-descriptors.h

Issue 2435023002: Use a different map to distinguish eval contexts (Closed)
Patch Set: relax dchecks Created 4 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 b376df1dbb1f1ac7e1d6166a4f71160f7ea62d9e..ea7bd5e92ba6491d918e3887d109c9c0601c022d 100644
--- a/src/interface-descriptors.h
+++ b/src/interface-descriptors.h
@@ -30,6 +30,7 @@ class PlatformInterfaceDescriptor;
V(VarArgFunction) \
V(FastNewClosure) \
V(FastNewFunctionContext) \
+ V(FastNewEvalContext) \
V(FastNewObject) \
V(FastNewRestParameter) \
V(FastNewSloppyArguments) \
@@ -415,6 +416,16 @@ class FastNewFunctionContextDescriptor : public CallInterfaceDescriptor {
static const Register SlotsRegister();
};
+class FastNewEvalContextDescriptor : public CallInterfaceDescriptor {
+ public:
+ DEFINE_PARAMETERS(kFunction, kSlots)
+ DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(FastNewEvalContextDescriptor,
+ CallInterfaceDescriptor)
+
+ static const Register FunctionRegister();
+ static const Register SlotsRegister();
+};
+
class FastNewObjectDescriptor : public CallInterfaceDescriptor {
public:
DECLARE_DESCRIPTOR(FastNewObjectDescriptor, CallInterfaceDescriptor)

Powered by Google App Engine
This is Rietveld 408576698