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

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

Issue 1404773002: Introduce AllocateInNewSpace stub. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@begin-macro
Patch Set: Rebase Created 5 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/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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 data->InitializePlatformSpecific(arraysize(registers), registers); 235 data->InitializePlatformSpecific(arraysize(registers), registers);
236 } 236 }
237 237
238 238
239 void AllocateHeapNumberDescriptor::InitializePlatformSpecific( 239 void AllocateHeapNumberDescriptor::InitializePlatformSpecific(
240 CallInterfaceDescriptorData* data) { 240 CallInterfaceDescriptorData* data) {
241 data->InitializePlatformSpecific(0, nullptr, nullptr); 241 data->InitializePlatformSpecific(0, nullptr, nullptr);
242 } 242 }
243 243
244 244
245 void AllocateInNewSpaceDescriptor::InitializePlatformSpecific(
246 CallInterfaceDescriptorData* data) {
247 Register registers[] = {x0};
248 data->InitializePlatformSpecific(arraysize(registers), registers);
249 }
250
251
245 void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific( 252 void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific(
246 CallInterfaceDescriptorData* data) { 253 CallInterfaceDescriptorData* data) {
247 // x1: function 254 // x1: function
248 // x2: allocation site with elements kind 255 // x2: allocation site with elements kind
249 // x0: number of arguments to the constructor function 256 // x0: number of arguments to the constructor function
250 Register registers[] = {x1, x2}; 257 Register registers[] = {x1, x2};
251 data->InitializePlatformSpecific(arraysize(registers), registers); 258 data->InitializePlatformSpecific(arraysize(registers), registers);
252 } 259 }
253 260
254 261
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
457 x1 // the runtime function to call 464 x1 // the runtime function to call
458 }; 465 };
459 data->InitializePlatformSpecific(arraysize(registers), registers); 466 data->InitializePlatformSpecific(arraysize(registers), registers);
460 } 467 }
461 468
462 469
463 } // namespace internal 470 } // namespace internal
464 } // namespace v8 471 } // namespace v8
465 472
466 #endif // V8_TARGET_ARCH_ARM64 473 #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