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

Side by Side Diff: src/arm64/interface-descriptors-arm64.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/arm64/interface-descriptors-arm64.h" 5 #include "src/arm64/interface-descriptors-arm64.h"
6 6
7 #if V8_TARGET_ARCH_ARM64 7 #if V8_TARGET_ARCH_ARM64
8 8
9 #include "src/interface-descriptors.h" 9 #include "src/interface-descriptors.h"
10 10
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 void ArraySingleArgumentConstructorDescriptor::InitializePlatformSpecific( 289 void ArraySingleArgumentConstructorDescriptor::InitializePlatformSpecific(
290 CallInterfaceDescriptorData* data) { 290 CallInterfaceDescriptorData* data) {
291 // register state 291 // register state
292 // x0: number of arguments 292 // x0: number of arguments
293 // x1: function 293 // x1: function
294 // x2: allocation site with elements kind 294 // x2: allocation site with elements kind
295 Register registers[] = {x1, x2, x0}; 295 Register registers[] = {x1, x2, x0};
296 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); 296 data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
297 } 297 }
298 298
299 void ArrayConstructorDescriptor::InitializePlatformSpecific( 299 void ArrayNArgumentsConstructorDescriptor::InitializePlatformSpecific(
300 CallInterfaceDescriptorData* data) { 300 CallInterfaceDescriptorData* data) {
301 // stack param count needs (constructor pointer, and single argument) 301 // stack param count needs (constructor pointer, and single argument)
302 Register registers[] = {x1, x2, x0}; 302 Register registers[] = {x1, x2, x0};
303 data->InitializePlatformSpecific(arraysize(registers), registers); 303 data->InitializePlatformSpecific(arraysize(registers), registers);
304 } 304 }
305 305
306
307 void InternalArrayConstructorDescriptor::InitializePlatformSpecific(
308 CallInterfaceDescriptorData* data) {
309 // stack param count needs (constructor pointer, and single argument)
310 Register registers[] = {x1, x0};
311 data->InitializePlatformSpecific(arraysize(registers), registers);
312 }
313
314 void VarArgFunctionDescriptor::InitializePlatformSpecific( 306 void VarArgFunctionDescriptor::InitializePlatformSpecific(
315 CallInterfaceDescriptorData* data) { 307 CallInterfaceDescriptorData* data) {
316 // stack param count needs (arg count) 308 // stack param count needs (arg count)
317 Register registers[] = {x0}; 309 Register registers[] = {x0};
318 data->InitializePlatformSpecific(arraysize(registers), registers); 310 data->InitializePlatformSpecific(arraysize(registers), registers);
319 } 311 }
320 312
321 void CompareDescriptor::InitializePlatformSpecific( 313 void CompareDescriptor::InitializePlatformSpecific(
322 CallInterfaceDescriptorData* data) { 314 CallInterfaceDescriptorData* data) {
323 // x1: left operand 315 // x1: left operand
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
475 x1, // the JSGeneratorObject to resume 467 x1, // the JSGeneratorObject to resume
476 x2 // the resume mode (tagged) 468 x2 // the resume mode (tagged)
477 }; 469 };
478 data->InitializePlatformSpecific(arraysize(registers), registers); 470 data->InitializePlatformSpecific(arraysize(registers), registers);
479 } 471 }
480 472
481 } // namespace internal 473 } // namespace internal
482 } // namespace v8 474 } // namespace v8
483 475
484 #endif // V8_TARGET_ARCH_ARM64 476 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm64/code-stubs-arm64.cc ('k') | src/code-stubs.h » ('j') | src/mips/code-stubs-mips.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698