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

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

Issue 2415583002: PPC/s390: [stubs] Refactor the CallICStub to pass the number of arguments. (Closed)
Patch Set: Created 4 years, 2 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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 } 136 }
137 137
138 void CallFunctionWithFeedbackDescriptor::InitializePlatformSpecific( 138 void CallFunctionWithFeedbackDescriptor::InitializePlatformSpecific(
139 CallInterfaceDescriptorData* data) { 139 CallInterfaceDescriptorData* data) {
140 Register registers[] = {r3, r5}; 140 Register registers[] = {r3, r5};
141 data->InitializePlatformSpecific(arraysize(registers), registers); 141 data->InitializePlatformSpecific(arraysize(registers), registers);
142 } 142 }
143 143
144 void CallFunctionWithFeedbackAndVectorDescriptor::InitializePlatformSpecific( 144 void CallFunctionWithFeedbackAndVectorDescriptor::InitializePlatformSpecific(
145 CallInterfaceDescriptorData* data) { 145 CallInterfaceDescriptorData* data) {
146 Register registers[] = {r3, r5, r4}; 146 Register registers[] = {r3, r2, r5, r4};
147 data->InitializePlatformSpecific(arraysize(registers), registers); 147 data->InitializePlatformSpecific(arraysize(registers), registers);
148 } 148 }
149 149
150 void CallConstructDescriptor::InitializePlatformSpecific( 150 void CallConstructDescriptor::InitializePlatformSpecific(
151 CallInterfaceDescriptorData* data) { 151 CallInterfaceDescriptorData* data) {
152 // r2 : number of arguments 152 // r2 : number of arguments
153 // r3 : the function to call 153 // r3 : the function to call
154 // r4 : feedback vector 154 // r4 : feedback vector
155 // r5 : slot in feedback vector (Smi, for RecordCallTarget) 155 // r5 : slot in feedback vector (Smi, for RecordCallTarget)
156 // r6 : new target (for IsSuperConstructorCall) 156 // r6 : new target (for IsSuperConstructorCall)
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 r3, // the JSGeneratorObject to resume 391 r3, // the JSGeneratorObject to resume
392 r4 // the resume mode (tagged) 392 r4 // the resume mode (tagged)
393 }; 393 };
394 data->InitializePlatformSpecific(arraysize(registers), registers); 394 data->InitializePlatformSpecific(arraysize(registers), registers);
395 } 395 }
396 396
397 } // namespace internal 397 } // namespace internal
398 } // namespace v8 398 } // namespace v8
399 399
400 #endif // V8_TARGET_ARCH_S390 400 #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