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

Side by Side Diff: src/arm64/interface-descriptors-arm64.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/arm/interface-descriptors-arm.cc ('k') | src/code-factory.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 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 #include "src/arm64/interface-descriptors-arm64.h" 5 #include "src/arm64/interface-descriptors-arm64.h"
6 6
7 #if V8_TARGET_ARCH_ARM64 7 #if V8_TARGET_ARCH_ARM64
8 8
9 #include "src/interface-descriptors.h" 9 #include "src/interface-descriptors.h"
10 10
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 225
226 void CallTrampolineDescriptor::InitializePlatformSpecific( 226 void CallTrampolineDescriptor::InitializePlatformSpecific(
227 CallInterfaceDescriptorData* data) { 227 CallInterfaceDescriptorData* data) {
228 // x1: target 228 // x1: target
229 // x0: number of arguments 229 // x0: number of arguments
230 Register registers[] = {x1, x0}; 230 Register registers[] = {x1, x0};
231 data->InitializePlatformSpecific(arraysize(registers), registers); 231 data->InitializePlatformSpecific(arraysize(registers), registers);
232 } 232 }
233 233
234 234
235 void ConstructStubDescriptor::InitializePlatformSpecific(
236 CallInterfaceDescriptorData* data) {
237 // x3: new target
238 // x1: target
239 // x0: number of arguments
240 // x2: allocation site or undefined
241 Register registers[] = {x1, x3, x0, x2};
242 data->InitializePlatformSpecific(arraysize(registers), registers);
243 }
244
245
235 void ConstructTrampolineDescriptor::InitializePlatformSpecific( 246 void ConstructTrampolineDescriptor::InitializePlatformSpecific(
236 CallInterfaceDescriptorData* data) { 247 CallInterfaceDescriptorData* data) {
237 // x3: new target 248 // x3: new target
238 // x1: target 249 // x1: target
239 // x0: number of arguments 250 // x0: number of arguments
240 Register registers[] = {x1, x3, x0}; 251 Register registers[] = {x1, x3, x0};
241 data->InitializePlatformSpecific(arraysize(registers), registers); 252 data->InitializePlatformSpecific(arraysize(registers), registers);
242 } 253 }
243 254
244 255
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
481 x1 // the runtime function to call 492 x1 // the runtime function to call
482 }; 493 };
483 data->InitializePlatformSpecific(arraysize(registers), registers); 494 data->InitializePlatformSpecific(arraysize(registers), registers);
484 } 495 }
485 496
486 497
487 } // namespace internal 498 } // namespace internal
488 } // namespace v8 499 } // namespace v8
489 500
490 #endif // V8_TARGET_ARCH_ARM64 501 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm/interface-descriptors-arm.cc ('k') | src/code-factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698