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

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: move loop check 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
Index: src/interface-descriptors.h
diff --git a/src/interface-descriptors.h b/src/interface-descriptors.h
index 29fdc46736c10f0eddd6dd4b55fd5f350ed055eb..e8914673ce36c27633d8ce31c5d47fb05c23e037 100644
--- a/src/interface-descriptors.h
+++ b/src/interface-descriptors.h
@@ -492,7 +492,10 @@ class FastNewClosureDescriptor : public CallInterfaceDescriptor {
class FastNewFunctionContextDescriptor : public CallInterfaceDescriptor {
public:
DECLARE_DESCRIPTOR(FastNewFunctionContextDescriptor, CallInterfaceDescriptor)
- enum ParameterIndices { kFunctionIndex, kContextIndex };
+
+ enum ParameterIndices { kFunctionIndex, kSlotsIndex, kContextIndex };
+ static const Register FunctionRegister();
+ static const Register SlotsRegister();
};
class FastNewObjectDescriptor : public CallInterfaceDescriptor {

Powered by Google App Engine
This is Rietveld 408576698