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

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

Issue 2024253002: [stubs] Remove N-argument Hydrogen-based Array constructor stub (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix arm64 Created 4 years, 6 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
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 #include "src/arm/interface-descriptors-arm.h" 5 #include "src/arm/interface-descriptors-arm.h"
6 6
7 #if V8_TARGET_ARCH_ARM 7 #if V8_TARGET_ARCH_ARM
8 8
9 #include "src/interface-descriptors.h" 9 #include "src/interface-descriptors.h"
10 10
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 void ArraySingleArgumentConstructorDescriptor::InitializePlatformSpecific( 264 void ArraySingleArgumentConstructorDescriptor::InitializePlatformSpecific(
265 CallInterfaceDescriptorData* data) { 265 CallInterfaceDescriptorData* data) {
266 // register state 266 // register state
267 // r0 -- number of arguments 267 // r0 -- number of arguments
268 // r1 -- function 268 // r1 -- function
269 // r2 -- allocation site with elements kind 269 // r2 -- allocation site with elements kind
270 Register registers[] = {r1, r2, r0}; 270 Register registers[] = {r1, r2, r0};
271 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); 271 data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
272 } 272 }
273 273
274 void ArrayConstructorDescriptor::InitializePlatformSpecific( 274 void ArrayNArgumentsConstructorDescriptor::InitializePlatformSpecific(
275 CallInterfaceDescriptorData* data) { 275 CallInterfaceDescriptorData* data) {
276 // stack param count needs (constructor pointer, and single argument) 276 // stack param count needs (constructor pointer, and single argument)
277 Register registers[] = {r1, r2, r0}; 277 Register registers[] = {r1, r2, r0};
278 data->InitializePlatformSpecific(arraysize(registers), registers); 278 data->InitializePlatformSpecific(arraysize(registers), registers);
279 } 279 }
280 280
281 281
282 void InternalArrayConstructorDescriptor::InitializePlatformSpecific(
283 CallInterfaceDescriptorData* data) {
284 // stack param count needs (constructor pointer, and single argument)
285 Register registers[] = {r1, r0};
286 data->InitializePlatformSpecific(arraysize(registers), registers);
287 }
288
289 void VarArgFunctionDescriptor::InitializePlatformSpecific( 282 void VarArgFunctionDescriptor::InitializePlatformSpecific(
290 CallInterfaceDescriptorData* data) { 283 CallInterfaceDescriptorData* data) {
291 // stack param count needs (arg count) 284 // stack param count needs (arg count)
292 Register registers[] = {r0}; 285 Register registers[] = {r0};
293 data->InitializePlatformSpecific(arraysize(registers), registers); 286 data->InitializePlatformSpecific(arraysize(registers), registers);
294 } 287 }
295 288
296 void CompareDescriptor::InitializePlatformSpecific( 289 void CompareDescriptor::InitializePlatformSpecific(
297 CallInterfaceDescriptorData* data) { 290 CallInterfaceDescriptorData* data) {
298 Register registers[] = {r1, r0}; 291 Register registers[] = {r1, r0};
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 r1, // the JSGeneratorObject to resume 434 r1, // the JSGeneratorObject to resume
442 r2 // the resume mode (tagged) 435 r2 // the resume mode (tagged)
443 }; 436 };
444 data->InitializePlatformSpecific(arraysize(registers), registers); 437 data->InitializePlatformSpecific(arraysize(registers), registers);
445 } 438 }
446 439
447 } // namespace internal 440 } // namespace internal
448 } // namespace v8 441 } // namespace v8
449 442
450 #endif // V8_TARGET_ARCH_ARM 443 #endif // V8_TARGET_ARCH_ARM
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698