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

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

Issue 1877323002: [turbofan] Generalize AllocateStub to allow old space allocation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Go for minor key and AllocateStub Created 4 years, 8 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 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 } 266 }
267 267
268 #define SIMD128_ALLOC_DESC(TYPE, Type, type, lane_count, lane_type) \ 268 #define SIMD128_ALLOC_DESC(TYPE, Type, type, lane_count, lane_type) \
269 void Allocate##Type##Descriptor::InitializePlatformSpecific( \ 269 void Allocate##Type##Descriptor::InitializePlatformSpecific( \
270 CallInterfaceDescriptorData* data) { \ 270 CallInterfaceDescriptorData* data) { \
271 data->InitializePlatformSpecific(0, nullptr, nullptr); \ 271 data->InitializePlatformSpecific(0, nullptr, nullptr); \
272 } 272 }
273 SIMD128_TYPES(SIMD128_ALLOC_DESC) 273 SIMD128_TYPES(SIMD128_ALLOC_DESC)
274 #undef SIMD128_ALLOC_DESC 274 #undef SIMD128_ALLOC_DESC
275 275
276 void AllocateInNewSpaceDescriptor::InitializePlatformSpecific( 276 void AllocateDescriptor::InitializePlatformSpecific(
277 CallInterfaceDescriptorData* data) { 277 CallInterfaceDescriptorData* data) {
278 Register registers[] = {x0}; 278 Register registers[] = {x0};
279 data->InitializePlatformSpecific(arraysize(registers), registers); 279 data->InitializePlatformSpecific(arraysize(registers), registers);
280 } 280 }
281 281
282 282
283 void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific( 283 void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific(
284 CallInterfaceDescriptorData* data) { 284 CallInterfaceDescriptorData* data) {
285 // x1: function 285 // x1: function
286 // x2: allocation site with elements kind 286 // x2: allocation site with elements kind
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
474 x1, // the JSGeneratorObject to resume 474 x1, // the JSGeneratorObject to resume
475 x2 // the resume mode (tagged) 475 x2 // the resume mode (tagged)
476 }; 476 };
477 data->InitializePlatformSpecific(arraysize(registers), registers); 477 data->InitializePlatformSpecific(arraysize(registers), registers);
478 } 478 }
479 479
480 } // namespace internal 480 } // namespace internal
481 } // namespace v8 481 } // namespace v8
482 482
483 #endif // V8_TARGET_ARCH_ARM64 483 #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