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

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

Issue 1517593003: [turbofan] Optimize JSCallConstruct in typed lowering to direct calls. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix arm typo. Created 5 years 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/mips/interface-descriptors-mips.cc ('k') | src/ppc/interface-descriptors-ppc.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_MIPS64 5 #if V8_TARGET_ARCH_MIPS64
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 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 204
205 void CallTrampolineDescriptor::InitializePlatformSpecific( 205 void CallTrampolineDescriptor::InitializePlatformSpecific(
206 CallInterfaceDescriptorData* data) { 206 CallInterfaceDescriptorData* data) {
207 // a1: target 207 // a1: target
208 // a0: number of arguments 208 // a0: number of arguments
209 Register registers[] = {a1, a0}; 209 Register registers[] = {a1, a0};
210 data->InitializePlatformSpecific(arraysize(registers), registers); 210 data->InitializePlatformSpecific(arraysize(registers), registers);
211 } 211 }
212 212
213 213
214 void ConstructStubDescriptor::InitializePlatformSpecific(
215 CallInterfaceDescriptorData* data) {
216 // a1: target
217 // a3: new target
218 // a0: number of arguments
219 // a2: allocation site or undefined
220 Register registers[] = {a1, a3, a0, a2};
221 data->InitializePlatformSpecific(arraysize(registers), registers);
222 }
223
224
214 void ConstructTrampolineDescriptor::InitializePlatformSpecific( 225 void ConstructTrampolineDescriptor::InitializePlatformSpecific(
215 CallInterfaceDescriptorData* data) { 226 CallInterfaceDescriptorData* data) {
216 // a1: target 227 // a1: target
217 // a3: new target 228 // a3: new target
218 // a0: number of arguments 229 // a0: number of arguments
219 Register registers[] = {a1, a3, a0}; 230 Register registers[] = {a1, a3, a0};
220 data->InitializePlatformSpecific(arraysize(registers), registers); 231 data->InitializePlatformSpecific(arraysize(registers), registers);
221 } 232 }
222 233
223 234
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 a2, // address of first argument (argv) 433 a2, // address of first argument (argv)
423 a1 // the runtime function to call 434 a1 // the runtime function to call
424 }; 435 };
425 data->InitializePlatformSpecific(arraysize(registers), registers); 436 data->InitializePlatformSpecific(arraysize(registers), registers);
426 } 437 }
427 438
428 } // namespace internal 439 } // namespace internal
429 } // namespace v8 440 } // namespace v8
430 441
431 #endif // V8_TARGET_ARCH_MIPS64 442 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/mips/interface-descriptors-mips.cc ('k') | src/ppc/interface-descriptors-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698