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

Side by Side Diff: src/interface-descriptors.h

Issue 2504153002: [TypeFeedbackVector] Root literal arrays in function literals slots (Closed)
Patch Set: REBASE. Created 4 years 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
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 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 LoadGlobalDescriptor) 410 LoadGlobalDescriptor)
411 411
412 static const Register VectorRegister() { 412 static const Register VectorRegister() {
413 return LoadWithVectorDescriptor::VectorRegister(); 413 return LoadWithVectorDescriptor::VectorRegister();
414 } 414 }
415 }; 415 };
416 416
417 class FastNewClosureDescriptor : public CallInterfaceDescriptor { 417 class FastNewClosureDescriptor : public CallInterfaceDescriptor {
418 public: 418 public:
419 DECLARE_DESCRIPTOR(FastNewClosureDescriptor, CallInterfaceDescriptor) 419 DECLARE_DESCRIPTOR(FastNewClosureDescriptor, CallInterfaceDescriptor)
420 // sharedfunctioninfo ebx
421 // vector ecx
422 // slot index edx
420 }; 423 };
421 424
422 class FastNewFunctionContextDescriptor : public CallInterfaceDescriptor { 425 class FastNewFunctionContextDescriptor : public CallInterfaceDescriptor {
423 public: 426 public:
424 DEFINE_PARAMETERS(kFunction, kSlots) 427 DEFINE_PARAMETERS(kFunction, kSlots)
425 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(FastNewFunctionContextDescriptor, 428 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(FastNewFunctionContextDescriptor,
426 CallInterfaceDescriptor) 429 CallInterfaceDescriptor)
427 430
428 static const Register FunctionRegister(); 431 static const Register FunctionRegister();
429 static const Register SlotsRegister(); 432 static const Register SlotsRegister();
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
850 } // namespace v8 853 } // namespace v8
851 854
852 855
853 #if V8_TARGET_ARCH_ARM64 856 #if V8_TARGET_ARCH_ARM64
854 #include "src/arm64/interface-descriptors-arm64.h" 857 #include "src/arm64/interface-descriptors-arm64.h"
855 #elif V8_TARGET_ARCH_ARM 858 #elif V8_TARGET_ARCH_ARM
856 #include "src/arm/interface-descriptors-arm.h" 859 #include "src/arm/interface-descriptors-arm.h"
857 #endif 860 #endif
858 861
859 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ 862 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698