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 2448463002: [regexp] Remove unused code (Closed)
Patch Set: Created 4 years, 1 month 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 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 void ConstructTrampolineDescriptor::InitializePlatformSpecific( 219 void ConstructTrampolineDescriptor::InitializePlatformSpecific(
220 CallInterfaceDescriptorData* data) { 220 CallInterfaceDescriptorData* data) {
221 // x3: new target 221 // x3: new target
222 // x1: target 222 // x1: target
223 // x0: number of arguments 223 // x0: number of arguments
224 Register registers[] = {x1, x3, x0}; 224 Register registers[] = {x1, x3, x0};
225 data->InitializePlatformSpecific(arraysize(registers), registers); 225 data->InitializePlatformSpecific(arraysize(registers), registers);
226 } 226 }
227 227
228 228
229 void RegExpConstructResultDescriptor::InitializePlatformSpecific(
230 CallInterfaceDescriptorData* data) {
231 // x2: length
232 // x1: index (of last match)
233 // x0: string
234 Register registers[] = {x2, x1, x0};
235 data->InitializePlatformSpecific(arraysize(registers), registers);
236 }
237
238
239 void TransitionElementsKindDescriptor::InitializePlatformSpecific( 229 void TransitionElementsKindDescriptor::InitializePlatformSpecific(
240 CallInterfaceDescriptorData* data) { 230 CallInterfaceDescriptorData* data) {
241 // x0: value (js_array) 231 // x0: value (js_array)
242 // x1: to_map 232 // x1: to_map
243 Register registers[] = {x0, x1}; 233 Register registers[] = {x0, x1};
244 data->InitializePlatformSpecific(arraysize(registers), registers); 234 data->InitializePlatformSpecific(arraysize(registers), registers);
245 } 235 }
246 236
247 237
248 void AllocateHeapNumberDescriptor::InitializePlatformSpecific( 238 void AllocateHeapNumberDescriptor::InitializePlatformSpecific(
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
472 x1, // the JSGeneratorObject to resume 462 x1, // the JSGeneratorObject to resume
473 x2 // the resume mode (tagged) 463 x2 // the resume mode (tagged)
474 }; 464 };
475 data->InitializePlatformSpecific(arraysize(registers), registers); 465 data->InitializePlatformSpecific(arraysize(registers), registers);
476 } 466 }
477 467
478 } // namespace internal 468 } // namespace internal
479 } // namespace v8 469 } // namespace v8
480 470
481 #endif // V8_TARGET_ARCH_ARM64 471 #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