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

Side by Side Diff: src/arm/interface-descriptors-arm.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 | « no previous file | src/arm64/interface-descriptors-arm64.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 #include "src/arm/interface-descriptors-arm.h" 5 #include "src/arm/interface-descriptors-arm.h"
6 6
7 #if V8_TARGET_ARCH_ARM 7 #if V8_TARGET_ARCH_ARM
8 8
9 #include "src/interface-descriptors.h" 9 #include "src/interface-descriptors.h"
10 10
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 data->InitializePlatformSpecific(arraysize(registers), registers); 215 data->InitializePlatformSpecific(arraysize(registers), registers);
216 } 216 }
217 217
218 218
219 void AllocateHeapNumberDescriptor::InitializePlatformSpecific( 219 void AllocateHeapNumberDescriptor::InitializePlatformSpecific(
220 CallInterfaceDescriptorData* data) { 220 CallInterfaceDescriptorData* data) {
221 data->InitializePlatformSpecific(0, nullptr, nullptr); 221 data->InitializePlatformSpecific(0, nullptr, nullptr);
222 } 222 }
223 223
224 224
225 void AllocateInNewSpaceDescriptor::InitializePlatformSpecific(
226 CallInterfaceDescriptorData* data) {
227 Register registers[] = {r0};
228 data->InitializePlatformSpecific(arraysize(registers), registers);
229 }
230
231
225 void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific( 232 void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific(
226 CallInterfaceDescriptorData* data) { 233 CallInterfaceDescriptorData* data) {
227 // register state 234 // register state
228 // r0 -- number of arguments 235 // r0 -- number of arguments
229 // r1 -- function 236 // r1 -- function
230 // r2 -- allocation site with elements kind 237 // r2 -- allocation site with elements kind
231 Register registers[] = {r1, r2}; 238 Register registers[] = {r1, r2};
232 data->InitializePlatformSpecific(arraysize(registers), registers); 239 data->InitializePlatformSpecific(arraysize(registers), registers);
233 } 240 }
234 241
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 r2, // address of first argument (argv) 434 r2, // address of first argument (argv)
428 r1 // the runtime function to call 435 r1 // the runtime function to call
429 }; 436 };
430 data->InitializePlatformSpecific(arraysize(registers), registers); 437 data->InitializePlatformSpecific(arraysize(registers), registers);
431 } 438 }
432 439
433 } // namespace internal 440 } // namespace internal
434 } // namespace v8 441 } // namespace v8
435 442
436 #endif // V8_TARGET_ARCH_ARM 443 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | src/arm64/interface-descriptors-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698