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

Side by Side Diff: src/mips64/interface-descriptors-mips64.cc

Issue 2670843002: [stubs] Also port the CallICStub to CSA. (Closed)
Patch Set: Introduce FullCodeGenerator::IntFromSlot. Created 3 years, 10 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/mips64/code-stubs-mips64.cc ('k') | src/ppc/interface-descriptors-ppc.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 #if V8_TARGET_ARCH_MIPS64 5 #if V8_TARGET_ARCH_MIPS64
6 6
7 #include "src/interface-descriptors.h" 7 #include "src/interface-descriptors.h"
8 8
9 namespace v8 { 9 namespace v8 {
10 namespace internal { 10 namespace internal {
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 data->InitializePlatformSpecific(arraysize(registers), registers); 126 data->InitializePlatformSpecific(arraysize(registers), registers);
127 } 127 }
128 128
129 129
130 void CreateWeakCellDescriptor::InitializePlatformSpecific( 130 void CreateWeakCellDescriptor::InitializePlatformSpecific(
131 CallInterfaceDescriptorData* data) { 131 CallInterfaceDescriptorData* data) {
132 Register registers[] = {a2, a3, a1}; 132 Register registers[] = {a2, a3, a1};
133 data->InitializePlatformSpecific(arraysize(registers), registers); 133 data->InitializePlatformSpecific(arraysize(registers), registers);
134 } 134 }
135 135
136 136 void CallICTrampolineDescriptor::InitializePlatformSpecific(
137 void CallFunctionWithFeedbackDescriptor::InitializePlatformSpecific(
138 CallInterfaceDescriptorData* data) { 137 CallInterfaceDescriptorData* data) {
139 Register registers[] = {a1, a0, a3}; 138 Register registers[] = {a1, a0, a3};
140 data->InitializePlatformSpecific(arraysize(registers), registers); 139 data->InitializePlatformSpecific(arraysize(registers), registers);
141 } 140 }
142 141
143 142 void CallICDescriptor::InitializePlatformSpecific(
144 void CallFunctionWithFeedbackAndVectorDescriptor::InitializePlatformSpecific(
145 CallInterfaceDescriptorData* data) { 143 CallInterfaceDescriptorData* data) {
146 Register registers[] = {a1, a0, a3, a2}; 144 Register registers[] = {a1, a0, a3, a2};
147 data->InitializePlatformSpecific(arraysize(registers), registers); 145 data->InitializePlatformSpecific(arraysize(registers), registers);
148 } 146 }
149 147
150 148
151 void CallFunctionDescriptor::InitializePlatformSpecific( 149 void CallFunctionDescriptor::InitializePlatformSpecific(
152 CallInterfaceDescriptorData* data) { 150 CallInterfaceDescriptorData* data) {
153 Register registers[] = {a1}; 151 Register registers[] = {a1};
154 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); 152 data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 } 218 }
221 219
222 #define SIMD128_ALLOC_DESC(TYPE, Type, type, lane_count, lane_type) \ 220 #define SIMD128_ALLOC_DESC(TYPE, Type, type, lane_count, lane_type) \
223 void Allocate##Type##Descriptor::InitializePlatformSpecific( \ 221 void Allocate##Type##Descriptor::InitializePlatformSpecific( \
224 CallInterfaceDescriptorData* data) { \ 222 CallInterfaceDescriptorData* data) { \
225 data->InitializePlatformSpecific(0, nullptr, nullptr); \ 223 data->InitializePlatformSpecific(0, nullptr, nullptr); \
226 } 224 }
227 SIMD128_TYPES(SIMD128_ALLOC_DESC) 225 SIMD128_TYPES(SIMD128_ALLOC_DESC)
228 #undef SIMD128_ALLOC_DESC 226 #undef SIMD128_ALLOC_DESC
229 227
228 void ArrayConstructorDescriptor::InitializePlatformSpecific(
229 CallInterfaceDescriptorData* data) {
230 // kTarget, kNewTarget, kActualArgumentsCount, kAllocationSite
231 Register registers[] = {a1, a3, a0, a2};
232 data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
233 }
234
230 void ArrayNoArgumentConstructorDescriptor::InitializePlatformSpecific( 235 void ArrayNoArgumentConstructorDescriptor::InitializePlatformSpecific(
231 CallInterfaceDescriptorData* data) { 236 CallInterfaceDescriptorData* data) {
232 // register state 237 // register state
233 // a0 -- number of arguments 238 // a0 -- number of arguments
234 // a1 -- function 239 // a1 -- function
235 // a2 -- allocation site with elements kind 240 // a2 -- allocation site with elements kind
236 Register registers[] = {a1, a2, a0}; 241 Register registers[] = {a1, a2, a0};
237 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); 242 data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
238 } 243 }
239 244
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
419 Register registers[] = { 424 Register registers[] = {
420 a1, // loaded new FP 425 a1, // loaded new FP
421 }; 426 };
422 data->InitializePlatformSpecific(arraysize(registers), registers); 427 data->InitializePlatformSpecific(arraysize(registers), registers);
423 } 428 }
424 429
425 } // namespace internal 430 } // namespace internal
426 } // namespace v8 431 } // namespace v8
427 432
428 #endif // V8_TARGET_ARCH_MIPS64 433 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/mips64/code-stubs-mips64.cc ('k') | src/ppc/interface-descriptors-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698