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

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

Issue 1826533004: S390: Introduce a code stub version of Array.prototype.push (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 9 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') | no next file » | 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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 data->InitializePlatformSpecific(arraysize(registers), registers); 243 data->InitializePlatformSpecific(arraysize(registers), registers);
244 } 244 }
245 245
246 void InternalArrayConstructorDescriptor::InitializePlatformSpecific( 246 void InternalArrayConstructorDescriptor::InitializePlatformSpecific(
247 CallInterfaceDescriptorData* data) { 247 CallInterfaceDescriptorData* data) {
248 // stack param count needs (constructor pointer, and single argument) 248 // stack param count needs (constructor pointer, and single argument)
249 Register registers[] = {r3, r2}; 249 Register registers[] = {r3, r2};
250 data->InitializePlatformSpecific(arraysize(registers), registers); 250 data->InitializePlatformSpecific(arraysize(registers), registers);
251 } 251 }
252 252
253 void FastArrayPushDescriptor::InitializePlatformSpecific(
254 CallInterfaceDescriptorData* data) {
255 // stack param count needs (arg count)
256 Register registers[] = {r2};
257 data->InitializePlatformSpecific(arraysize(registers), registers);
258 }
259
253 void CompareDescriptor::InitializePlatformSpecific( 260 void CompareDescriptor::InitializePlatformSpecific(
254 CallInterfaceDescriptorData* data) { 261 CallInterfaceDescriptorData* data) {
255 Register registers[] = {r3, r2}; 262 Register registers[] = {r3, r2};
256 data->InitializePlatformSpecific(arraysize(registers), registers); 263 data->InitializePlatformSpecific(arraysize(registers), registers);
257 } 264 }
258 265
259 void BinaryOpDescriptor::InitializePlatformSpecific( 266 void BinaryOpDescriptor::InitializePlatformSpecific(
260 CallInterfaceDescriptorData* data) { 267 CallInterfaceDescriptorData* data) {
261 Register registers[] = {r3, r2}; 268 Register registers[] = {r3, r2};
262 data->InitializePlatformSpecific(arraysize(registers), registers); 269 data->InitializePlatformSpecific(arraysize(registers), registers);
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 r4, // address of first argument (argv) 364 r4, // address of first argument (argv)
358 r3 // the runtime function to call 365 r3 // the runtime function to call
359 }; 366 };
360 data->InitializePlatformSpecific(arraysize(registers), registers); 367 data->InitializePlatformSpecific(arraysize(registers), registers);
361 } 368 }
362 369
363 } // namespace internal 370 } // namespace internal
364 } // namespace v8 371 } // namespace v8
365 372
366 #endif // V8_TARGET_ARCH_S390 373 #endif // V8_TARGET_ARCH_S390
OLDNEW
« no previous file with comments | « src/s390/code-stubs-s390.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698