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

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

Issue 1221433021: Move SmartPointer to base. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove some unecessary header includes Created 5 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 unified diff | Download patch
« BUILD.gn ('K') | « src/hydrogen.cc ('k') | src/jsregexp.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 "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/macro-assembler.h" 9 #include "src/macro-assembler.h"
10 10
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 Type::FunctionType* function_type() const { return function_type_; } 104 Type::FunctionType* function_type() const { return function_type_; }
105 105
106 private: 106 private:
107 int stack_paramater_count_; 107 int stack_paramater_count_;
108 int register_param_count_; 108 int register_param_count_;
109 109
110 // The Register params are allocated dynamically by the 110 // The Register params are allocated dynamically by the
111 // InterfaceDescriptor, and freed on destruction. This is because static 111 // InterfaceDescriptor, and freed on destruction. This is because static
112 // arrays of Registers cause creation of runtime static initializers 112 // arrays of Registers cause creation of runtime static initializers
113 // which we don't want. 113 // which we don't want.
114 SmartArrayPointer<Register> register_params_; 114 base::SmartArrayPointer<Register> register_params_;
115 115
116 // Specifies types for parameters and return 116 // Specifies types for parameters and return
117 Type::FunctionType* function_type_; 117 Type::FunctionType* function_type_;
118 118
119 PlatformInterfaceDescriptor* platform_specific_descriptor_; 119 PlatformInterfaceDescriptor* platform_specific_descriptor_;
120 120
121 DISALLOW_COPY_AND_ASSIGN(CallInterfaceDescriptorData); 121 DISALLOW_COPY_AND_ASSIGN(CallInterfaceDescriptorData);
122 }; 122 };
123 123
124 124
(...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after
630 } // namespace v8::internal 630 } // namespace v8::internal
631 631
632 632
633 #if V8_TARGET_ARCH_ARM64 633 #if V8_TARGET_ARCH_ARM64
634 #include "src/arm64/interface-descriptors-arm64.h" 634 #include "src/arm64/interface-descriptors-arm64.h"
635 #elif V8_TARGET_ARCH_ARM 635 #elif V8_TARGET_ARCH_ARM
636 #include "src/arm/interface-descriptors-arm.h" 636 #include "src/arm/interface-descriptors-arm.h"
637 #endif 637 #endif
638 638
639 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ 639 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_
OLDNEW
« BUILD.gn ('K') | « src/hydrogen.cc ('k') | src/jsregexp.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698