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

Side by Side Diff: src/arm/interface-descriptors-arm.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/arm/code-stubs-arm.cc ('k') | src/arm64/code-stubs-arm64.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/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 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 } 279 }
280 280
281 281
282 void InternalArrayConstructorDescriptor::InitializePlatformSpecific( 282 void InternalArrayConstructorDescriptor::InitializePlatformSpecific(
283 CallInterfaceDescriptorData* data) { 283 CallInterfaceDescriptorData* data) {
284 // stack param count needs (constructor pointer, and single argument) 284 // stack param count needs (constructor pointer, and single argument)
285 Register registers[] = {r1, r0}; 285 Register registers[] = {r1, r0};
286 data->InitializePlatformSpecific(arraysize(registers), registers); 286 data->InitializePlatformSpecific(arraysize(registers), registers);
287 } 287 }
288 288
289 void FastArrayPushDescriptor::InitializePlatformSpecific( 289 void VarArgFunctionDescriptor::InitializePlatformSpecific(
290 CallInterfaceDescriptorData* data) { 290 CallInterfaceDescriptorData* data) {
291 // stack param count needs (arg count) 291 // stack param count needs (arg count)
292 Register registers[] = {r0}; 292 Register registers[] = {r0};
293 data->InitializePlatformSpecific(arraysize(registers), registers); 293 data->InitializePlatformSpecific(arraysize(registers), registers);
294 } 294 }
295 295
296 void CompareDescriptor::InitializePlatformSpecific( 296 void CompareDescriptor::InitializePlatformSpecific(
297 CallInterfaceDescriptorData* data) { 297 CallInterfaceDescriptorData* data) {
298 Register registers[] = {r1, r0}; 298 Register registers[] = {r1, r0};
299 data->InitializePlatformSpecific(arraysize(registers), registers); 299 data->InitializePlatformSpecific(arraysize(registers), registers);
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 r1, // the JSGeneratorObject to resume 441 r1, // the JSGeneratorObject to resume
442 r2 // the resume mode (tagged) 442 r2 // the resume mode (tagged)
443 }; 443 };
444 data->InitializePlatformSpecific(arraysize(registers), registers); 444 data->InitializePlatformSpecific(arraysize(registers), registers);
445 } 445 }
446 446
447 } // namespace internal 447 } // namespace internal
448 } // namespace v8 448 } // namespace v8
449 449
450 #endif // V8_TARGET_ARCH_ARM 450 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/code-stubs-arm.cc ('k') | src/arm64/code-stubs-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698