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

Side by Side Diff: src/s390/interface-descriptors-s390.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/s390/code-stubs-s390.cc ('k') | src/x64/code-stubs-x64.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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_S390 5 #if V8_TARGET_ARCH_S390
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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 data->InitializePlatformSpecific(arraysize(registers), registers); 245 data->InitializePlatformSpecific(arraysize(registers), registers);
246 } 246 }
247 247
248 void InternalArrayConstructorDescriptor::InitializePlatformSpecific( 248 void InternalArrayConstructorDescriptor::InitializePlatformSpecific(
249 CallInterfaceDescriptorData* data) { 249 CallInterfaceDescriptorData* data) {
250 // stack param count needs (constructor pointer, and single argument) 250 // stack param count needs (constructor pointer, and single argument)
251 Register registers[] = {r3, r2}; 251 Register registers[] = {r3, r2};
252 data->InitializePlatformSpecific(arraysize(registers), registers); 252 data->InitializePlatformSpecific(arraysize(registers), registers);
253 } 253 }
254 254
255 void FastArrayPushDescriptor::InitializePlatformSpecific( 255 void VarArgFunctionDescriptor::InitializePlatformSpecific(
256 CallInterfaceDescriptorData* data) { 256 CallInterfaceDescriptorData* data) {
257 // stack param count needs (arg count) 257 // stack param count needs (arg count)
258 Register registers[] = {r2}; 258 Register registers[] = {r2};
259 data->InitializePlatformSpecific(arraysize(registers), registers); 259 data->InitializePlatformSpecific(arraysize(registers), registers);
260 } 260 }
261 261
262 void CompareDescriptor::InitializePlatformSpecific( 262 void CompareDescriptor::InitializePlatformSpecific(
263 CallInterfaceDescriptorData* data) { 263 CallInterfaceDescriptorData* data) {
264 Register registers[] = {r3, r2}; 264 Register registers[] = {r3, r2};
265 data->InitializePlatformSpecific(arraysize(registers), registers); 265 data->InitializePlatformSpecific(arraysize(registers), registers);
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 r3, // the JSGeneratorObject to resume 381 r3, // the JSGeneratorObject to resume
382 r4 // the resume mode (tagged) 382 r4 // the resume mode (tagged)
383 }; 383 };
384 data->InitializePlatformSpecific(arraysize(registers), registers); 384 data->InitializePlatformSpecific(arraysize(registers), registers);
385 } 385 }
386 386
387 } // namespace internal 387 } // namespace internal
388 } // namespace v8 388 } // namespace v8
389 389
390 #endif // V8_TARGET_ARCH_S390 390 #endif // V8_TARGET_ARCH_S390
OLDNEW
« no previous file with comments | « src/s390/code-stubs-s390.cc ('k') | src/x64/code-stubs-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698