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

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

Issue 1325573004: [runtime] Replace many buggy uses of %_CallFunction with %_Call. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Address feedback. Created 5 years, 3 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/macros.py ('k') | src/mips64/interface-descriptors-mips64.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_MIPS 5 #if V8_TARGET_ARCH_MIPS
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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 // a2 : feedback vector 183 // a2 : feedback vector
184 // a3 : slot in feedback vector (Smi, for RecordCallTarget) 184 // a3 : slot in feedback vector (Smi, for RecordCallTarget)
185 // t0 : original constructor (for IsSuperConstructorCall) 185 // t0 : original constructor (for IsSuperConstructorCall)
186 // TODO(turbofan): So far we don't gather type feedback and hence skip the 186 // TODO(turbofan): So far we don't gather type feedback and hence skip the
187 // slot parameter, but ArrayConstructStub needs the vector to be undefined. 187 // slot parameter, but ArrayConstructStub needs the vector to be undefined.
188 Register registers[] = {a0, a1, t0, a2}; 188 Register registers[] = {a0, a1, t0, a2};
189 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); 189 data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
190 } 190 }
191 191
192 192
193 void CallTrampolineDescriptor::InitializePlatformSpecific(
194 CallInterfaceDescriptorData* data) {
195 // a1: target
196 // a0: number of arguments
197 Register registers[] = {a1, a0};
198 data->InitializePlatformSpecific(arraysize(registers), registers);
199 }
200
201
193 void RegExpConstructResultDescriptor::InitializePlatformSpecific( 202 void RegExpConstructResultDescriptor::InitializePlatformSpecific(
194 CallInterfaceDescriptorData* data) { 203 CallInterfaceDescriptorData* data) {
195 Register registers[] = {a2, a1, a0}; 204 Register registers[] = {a2, a1, a0};
196 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); 205 data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
197 } 206 }
198 207
199 208
200 void TransitionElementsKindDescriptor::InitializePlatformSpecific( 209 void TransitionElementsKindDescriptor::InitializePlatformSpecific(
201 CallInterfaceDescriptorData* data) { 210 CallInterfaceDescriptorData* data) {
202 Register registers[] = {a0, a1}; 211 Register registers[] = {a0, a1};
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 a1, // math rounding function 378 a1, // math rounding function
370 a3, // vector slot id 379 a3, // vector slot id
371 a2, // type vector 380 a2, // type vector
372 }; 381 };
373 data->InitializePlatformSpecific(arraysize(registers), registers); 382 data->InitializePlatformSpecific(arraysize(registers), registers);
374 } 383 }
375 } // namespace internal 384 } // namespace internal
376 } // namespace v8 385 } // namespace v8
377 386
378 #endif // V8_TARGET_ARCH_MIPS 387 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/macros.py ('k') | src/mips64/interface-descriptors-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698