Index: src/interface-descriptors.h |
diff --git a/src/interface-descriptors.h b/src/interface-descriptors.h |
index eaabb6878e1920d12ee0dcd4803ebb12227d7e85..3f08354f8ed10060b7d6fe1dcebaa53cbfc5114c 100644 |
--- a/src/interface-descriptors.h |
+++ b/src/interface-descriptors.h |
@@ -34,7 +34,7 @@ class PlatformInterfaceDescriptor; |
V(LoadWithVector) \ |
V(VarArgFunction) \ |
V(FastNewClosure) \ |
- V(FastNewContext) \ |
+ V(FastNewFunctionContext) \ |
V(FastNewObject) \ |
V(FastNewRestParameter) \ |
V(FastNewSloppyArguments) \ |
@@ -501,10 +501,10 @@ class FastNewClosureDescriptor : public CallInterfaceDescriptor { |
DECLARE_DESCRIPTOR(FastNewClosureDescriptor, CallInterfaceDescriptor) |
}; |
- |
-class FastNewContextDescriptor : public CallInterfaceDescriptor { |
+class FastNewFunctionContextDescriptor : public CallInterfaceDescriptor { |
public: |
- DECLARE_DESCRIPTOR(FastNewContextDescriptor, CallInterfaceDescriptor) |
+ DECLARE_DESCRIPTOR(FastNewFunctionContextDescriptor, CallInterfaceDescriptor) |
+ enum ParameterIndices { kFunctionIndex, kContextIndex }; |
}; |
class FastNewObjectDescriptor : public CallInterfaceDescriptor { |