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

Unified Diff: src/interface-descriptors.h

Issue 2113673002: [stubs]: Convert FastNewContext stub to turbofan (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rename based on feedback Created 4 years, 5 months 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
« no previous file with comments | « src/ia32/interface-descriptors-ia32.cc ('k') | src/mips/interface-descriptors-mips.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 {
« no previous file with comments | « src/ia32/interface-descriptors-ia32.cc ('k') | src/mips/interface-descriptors-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698