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

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

Issue 2044113002: Turn Function.prototype.bind into a hydrogen stub optimized for the common case (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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
« no previous file with comments | « src/arm64/code-stubs-arm64.cc ('k') | src/bootstrapper.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 #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 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 } 304 }
305 305
306 306
307 void InternalArrayConstructorDescriptor::InitializePlatformSpecific( 307 void InternalArrayConstructorDescriptor::InitializePlatformSpecific(
308 CallInterfaceDescriptorData* data) { 308 CallInterfaceDescriptorData* data) {
309 // stack param count needs (constructor pointer, and single argument) 309 // stack param count needs (constructor pointer, and single argument)
310 Register registers[] = {x1, x0}; 310 Register registers[] = {x1, x0};
311 data->InitializePlatformSpecific(arraysize(registers), registers); 311 data->InitializePlatformSpecific(arraysize(registers), registers);
312 } 312 }
313 313
314 void FastArrayPushDescriptor::InitializePlatformSpecific( 314 void VarArgFunctionDescriptor::InitializePlatformSpecific(
315 CallInterfaceDescriptorData* data) { 315 CallInterfaceDescriptorData* data) {
316 // stack param count needs (arg count) 316 // stack param count needs (arg count)
317 Register registers[] = {x0}; 317 Register registers[] = {x0};
318 data->InitializePlatformSpecific(arraysize(registers), registers); 318 data->InitializePlatformSpecific(arraysize(registers), registers);
319 } 319 }
320 320
321 void CompareDescriptor::InitializePlatformSpecific( 321 void CompareDescriptor::InitializePlatformSpecific(
322 CallInterfaceDescriptorData* data) { 322 CallInterfaceDescriptorData* data) {
323 // x1: left operand 323 // x1: left operand
324 // x0: right operand 324 // x0: right operand
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
475 x1, // the JSGeneratorObject to resume 475 x1, // the JSGeneratorObject to resume
476 x2 // the resume mode (tagged) 476 x2 // the resume mode (tagged)
477 }; 477 };
478 data->InitializePlatformSpecific(arraysize(registers), registers); 478 data->InitializePlatformSpecific(arraysize(registers), registers);
479 } 479 }
480 480
481 } // namespace internal 481 } // namespace internal
482 } // namespace v8 482 } // namespace v8
483 483
484 #endif // V8_TARGET_ARCH_ARM64 484 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm64/code-stubs-arm64.cc ('k') | src/bootstrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698