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

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

Issue 1256563002: PPC: HydrogenCodeStubs consume stack arguments via descriptor. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 5 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') | 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 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 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_PPC 7 #if V8_TARGET_ARCH_PPC
8 8
9 #include "src/interface-descriptors.h" 9 #include "src/interface-descriptors.h"
10 10
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 66
67 const Register MathPowIntegerDescriptor::exponent() { 67 const Register MathPowIntegerDescriptor::exponent() {
68 return MathPowTaggedDescriptor::exponent(); 68 return MathPowTaggedDescriptor::exponent();
69 } 69 }
70 70
71 71
72 const Register GrowArrayElementsDescriptor::ObjectRegister() { return r3; } 72 const Register GrowArrayElementsDescriptor::ObjectRegister() { return r3; }
73 const Register GrowArrayElementsDescriptor::KeyRegister() { return r6; } 73 const Register GrowArrayElementsDescriptor::KeyRegister() { return r6; }
74 74
75 75
76 void StoreTransitionDescriptor::InitializePlatformSpecific(
77 CallInterfaceDescriptorData* data) {
78 Register registers[] = {ReceiverRegister(), NameRegister(), ValueRegister(),
79 MapRegister()};
80 data->InitializePlatformSpecific(arraysize(registers), registers);
81 }
82
83
76 void FastNewClosureDescriptor::InitializePlatformSpecific( 84 void FastNewClosureDescriptor::InitializePlatformSpecific(
77 CallInterfaceDescriptorData* data) { 85 CallInterfaceDescriptorData* data) {
78 Register registers[] = {r5}; 86 Register registers[] = {r5};
79 data->InitializePlatformSpecific(arraysize(registers), registers); 87 data->InitializePlatformSpecific(arraysize(registers), registers);
80 } 88 }
81 89
82 90
83 void FastNewContextDescriptor::InitializePlatformSpecific( 91 void FastNewContextDescriptor::InitializePlatformSpecific(
84 CallInterfaceDescriptorData* data) { 92 CallInterfaceDescriptorData* data) {
85 Register registers[] = {r4}; 93 Register registers[] = {r4};
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 r4, // math rounding function 364 r4, // math rounding function
357 r6, // vector slot id 365 r6, // vector slot id
358 r7, // type vector 366 r7, // type vector
359 }; 367 };
360 data->InitializePlatformSpecific(arraysize(registers), registers); 368 data->InitializePlatformSpecific(arraysize(registers), registers);
361 } 369 }
362 } // namespace internal 370 } // namespace internal
363 } // namespace v8 371 } // namespace v8
364 372
365 #endif // V8_TARGET_ARCH_PPC 373 #endif // V8_TARGET_ARCH_PPC
OLDNEW
« no previous file with comments | « src/ppc/code-stubs-ppc.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698