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

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

Issue 1714123002: PPC: [stubs] Introduce a dedicated FastNewObjectStub. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 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/ppc/code-stubs-ppc.cc ('k') | src/ppc/macro-assembler-ppc.h » ('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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_PPC 5 #if V8_TARGET_ARCH_PPC
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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 data->InitializePlatformSpecific(arraysize(registers), registers); 75 data->InitializePlatformSpecific(arraysize(registers), registers);
76 } 76 }
77 77
78 78
79 void FastNewContextDescriptor::InitializePlatformSpecific( 79 void FastNewContextDescriptor::InitializePlatformSpecific(
80 CallInterfaceDescriptorData* data) { 80 CallInterfaceDescriptorData* data) {
81 Register registers[] = {r4}; 81 Register registers[] = {r4};
82 data->InitializePlatformSpecific(arraysize(registers), registers); 82 data->InitializePlatformSpecific(arraysize(registers), registers);
83 } 83 }
84 84
85 void FastNewObjectDescriptor::InitializePlatformSpecific(
86 CallInterfaceDescriptorData* data) {
87 Register registers[] = {r4, r6};
88 data->InitializePlatformSpecific(arraysize(registers), registers);
89 }
90
85 void FastNewRestParameterDescriptor::InitializePlatformSpecific( 91 void FastNewRestParameterDescriptor::InitializePlatformSpecific(
86 CallInterfaceDescriptorData* data) { 92 CallInterfaceDescriptorData* data) {
87 Register registers[] = {r4}; 93 Register registers[] = {r4};
88 data->InitializePlatformSpecific(arraysize(registers), registers); 94 data->InitializePlatformSpecific(arraysize(registers), registers);
89 } 95 }
90 96
91 void FastNewSloppyArgumentsDescriptor::InitializePlatformSpecific( 97 void FastNewSloppyArgumentsDescriptor::InitializePlatformSpecific(
92 CallInterfaceDescriptorData* data) { 98 CallInterfaceDescriptorData* data) {
93 Register registers[] = {r4}; 99 Register registers[] = {r4};
94 data->InitializePlatformSpecific(arraysize(registers), registers); 100 data->InitializePlatformSpecific(arraysize(registers), registers);
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 r3, // argument count (argc) 448 r3, // argument count (argc)
443 r5, // address of first argument (argv) 449 r5, // address of first argument (argv)
444 r4 // the runtime function to call 450 r4 // the runtime function to call
445 }; 451 };
446 data->InitializePlatformSpecific(arraysize(registers), registers); 452 data->InitializePlatformSpecific(arraysize(registers), registers);
447 } 453 }
448 } // namespace internal 454 } // namespace internal
449 } // namespace v8 455 } // namespace v8
450 456
451 #endif // V8_TARGET_ARCH_PPC 457 #endif // V8_TARGET_ARCH_PPC
OLDNEW
« no previous file with comments | « src/ppc/code-stubs-ppc.cc ('k') | src/ppc/macro-assembler-ppc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698