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

Unified Diff: src/interface-descriptors.h

Issue 2177273002: Make FastNewFunctionContextStub take slots parameter (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebased 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/interface-descriptors.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 650c83a2ad05a9fa72ad94d98e878b7367b352c6..430090c2473e5a41acc72bae2014da579e14c9cc 100644
--- a/src/interface-descriptors.h
+++ b/src/interface-descriptors.h
@@ -473,8 +473,12 @@ class FastNewClosureDescriptor : public CallInterfaceDescriptor {
class FastNewFunctionContextDescriptor : public CallInterfaceDescriptor {
public:
- DEFINE_PARAMETERS(kFunction)
- DECLARE_DESCRIPTOR(FastNewFunctionContextDescriptor, CallInterfaceDescriptor)
+ DEFINE_PARAMETERS(kFunction, kSlots)
+ DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(FastNewFunctionContextDescriptor,
+ CallInterfaceDescriptor)
+
+ static const Register FunctionRegister();
+ static const Register SlotsRegister();
};
class FastNewObjectDescriptor : public CallInterfaceDescriptor {
« no previous file with comments | « src/ia32/interface-descriptors-ia32.cc ('k') | src/interface-descriptors.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698