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

Side by Side 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, 4 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 unified diff | Download patch
« no previous file with comments | « src/ia32/interface-descriptors-ia32.cc ('k') | src/interface-descriptors.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_CALL_INTERFACE_DESCRIPTOR_H_ 5 #ifndef V8_CALL_INTERFACE_DESCRIPTOR_H_
6 #define V8_CALL_INTERFACE_DESCRIPTOR_H_ 6 #define V8_CALL_INTERFACE_DESCRIPTOR_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "src/assembler.h" 10 #include "src/assembler.h"
(...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after
466 } 466 }
467 }; 467 };
468 468
469 class FastNewClosureDescriptor : public CallInterfaceDescriptor { 469 class FastNewClosureDescriptor : public CallInterfaceDescriptor {
470 public: 470 public:
471 DECLARE_DESCRIPTOR(FastNewClosureDescriptor, CallInterfaceDescriptor) 471 DECLARE_DESCRIPTOR(FastNewClosureDescriptor, CallInterfaceDescriptor)
472 }; 472 };
473 473
474 class FastNewFunctionContextDescriptor : public CallInterfaceDescriptor { 474 class FastNewFunctionContextDescriptor : public CallInterfaceDescriptor {
475 public: 475 public:
476 DEFINE_PARAMETERS(kFunction) 476 DEFINE_PARAMETERS(kFunction, kSlots)
477 DECLARE_DESCRIPTOR(FastNewFunctionContextDescriptor, CallInterfaceDescriptor) 477 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(FastNewFunctionContextDescriptor,
478 CallInterfaceDescriptor)
479
480 static const Register FunctionRegister();
481 static const Register SlotsRegister();
478 }; 482 };
479 483
480 class FastNewObjectDescriptor : public CallInterfaceDescriptor { 484 class FastNewObjectDescriptor : public CallInterfaceDescriptor {
481 public: 485 public:
482 DECLARE_DESCRIPTOR(FastNewObjectDescriptor, CallInterfaceDescriptor) 486 DECLARE_DESCRIPTOR(FastNewObjectDescriptor, CallInterfaceDescriptor)
483 }; 487 };
484 488
485 class FastNewRestParameterDescriptor : public CallInterfaceDescriptor { 489 class FastNewRestParameterDescriptor : public CallInterfaceDescriptor {
486 public: 490 public:
487 DECLARE_DESCRIPTOR(FastNewRestParameterDescriptor, CallInterfaceDescriptor) 491 DECLARE_DESCRIPTOR(FastNewRestParameterDescriptor, CallInterfaceDescriptor)
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after
923 } // namespace v8 927 } // namespace v8
924 928
925 929
926 #if V8_TARGET_ARCH_ARM64 930 #if V8_TARGET_ARCH_ARM64
927 #include "src/arm64/interface-descriptors-arm64.h" 931 #include "src/arm64/interface-descriptors-arm64.h"
928 #elif V8_TARGET_ARCH_ARM 932 #elif V8_TARGET_ARCH_ARM
929 #include "src/arm/interface-descriptors-arm.h" 933 #include "src/arm/interface-descriptors-arm.h"
930 #endif 934 #endif
931 935
932 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ 936 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_
OLDNEW
« 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