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

Side by Side Diff: src/x64/interface-descriptors-x64.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/v8.gyp ('k') | src/x87/interface-descriptors-x87.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 #if V8_TARGET_ARCH_X64 5 #if V8_TARGET_ARCH_X64
6 6
7 #include "src/interface-descriptors.h" 7 #include "src/interface-descriptors.h"
8 8
9 namespace v8 { 9 namespace v8 {
10 namespace internal { 10 namespace internal {
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 void ConstructTrampolineDescriptor::InitializePlatformSpecific( 195 void ConstructTrampolineDescriptor::InitializePlatformSpecific(
196 CallInterfaceDescriptorData* data) { 196 CallInterfaceDescriptorData* data) {
197 // rax : number of arguments 197 // rax : number of arguments
198 // rdx : the new target 198 // rdx : the new target
199 // rdi : the target to call 199 // rdi : the target to call
200 Register registers[] = {rdi, rdx, rax}; 200 Register registers[] = {rdi, rdx, rax};
201 data->InitializePlatformSpecific(arraysize(registers), registers); 201 data->InitializePlatformSpecific(arraysize(registers), registers);
202 } 202 }
203 203
204 204
205 void RegExpConstructResultDescriptor::InitializePlatformSpecific(
206 CallInterfaceDescriptorData* data) {
207 Register registers[] = {rcx, rbx, rax};
208 data->InitializePlatformSpecific(arraysize(registers), registers);
209 }
210
211
212 void TransitionElementsKindDescriptor::InitializePlatformSpecific( 205 void TransitionElementsKindDescriptor::InitializePlatformSpecific(
213 CallInterfaceDescriptorData* data) { 206 CallInterfaceDescriptorData* data) {
214 Register registers[] = {rax, rbx}; 207 Register registers[] = {rax, rbx};
215 data->InitializePlatformSpecific(arraysize(registers), registers); 208 data->InitializePlatformSpecific(arraysize(registers), registers);
216 } 209 }
217 210
218 211
219 void AllocateHeapNumberDescriptor::InitializePlatformSpecific( 212 void AllocateHeapNumberDescriptor::InitializePlatformSpecific(
220 CallInterfaceDescriptorData* data) { 213 CallInterfaceDescriptorData* data) {
221 data->InitializePlatformSpecific(0, nullptr, nullptr); 214 data->InitializePlatformSpecific(0, nullptr, nullptr);
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 rbx, // the JSGeneratorObject to resume 410 rbx, // the JSGeneratorObject to resume
418 rdx // the resume mode (tagged) 411 rdx // the resume mode (tagged)
419 }; 412 };
420 data->InitializePlatformSpecific(arraysize(registers), registers); 413 data->InitializePlatformSpecific(arraysize(registers), registers);
421 } 414 }
422 415
423 } // namespace internal 416 } // namespace internal
424 } // namespace v8 417 } // namespace v8
425 418
426 #endif // V8_TARGET_ARCH_X64 419 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/v8.gyp ('k') | src/x87/interface-descriptors-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698