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

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

Issue 2080223009: X87: [stubs] Remove N-argument Hydrogen-based Array constructor stub. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 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/x87/code-stubs-x87.cc ('k') | no next file » | 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_X87 5 #if V8_TARGET_ARCH_X87
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 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 void ArraySingleArgumentConstructorDescriptor::InitializePlatformSpecific( 263 void ArraySingleArgumentConstructorDescriptor::InitializePlatformSpecific(
264 CallInterfaceDescriptorData* data) { 264 CallInterfaceDescriptorData* data) {
265 // register state 265 // register state
266 // eax -- number of arguments 266 // eax -- number of arguments
267 // edi -- function 267 // edi -- function
268 // ebx -- allocation site with elements kind 268 // ebx -- allocation site with elements kind
269 Register registers[] = {edi, ebx, eax}; 269 Register registers[] = {edi, ebx, eax};
270 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); 270 data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
271 } 271 }
272 272
273 void ArrayConstructorDescriptor::InitializePlatformSpecific( 273 void ArrayNArgumentsConstructorDescriptor::InitializePlatformSpecific(
274 CallInterfaceDescriptorData* data) { 274 CallInterfaceDescriptorData* data) {
275 // stack param count needs (constructor pointer, and single argument) 275 // register state
276 // eax -- number of arguments
277 // edi -- function
278 // ebx -- allocation site with elements kind
276 Register registers[] = {edi, ebx, eax}; 279 Register registers[] = {edi, ebx, eax};
277 data->InitializePlatformSpecific(arraysize(registers), registers); 280 data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
278 }
279
280
281 void InternalArrayConstructorDescriptor::InitializePlatformSpecific(
282 CallInterfaceDescriptorData* data) {
283 // stack param count needs (constructor pointer, and single argument)
284 Register registers[] = {edi, eax};
285 data->InitializePlatformSpecific(arraysize(registers), registers);
286 } 281 }
287 282
288 void VarArgFunctionDescriptor::InitializePlatformSpecific( 283 void VarArgFunctionDescriptor::InitializePlatformSpecific(
289 CallInterfaceDescriptorData* data) { 284 CallInterfaceDescriptorData* data) {
290 // stack param count needs (arg count) 285 // stack param count needs (arg count)
291 Register registers[] = {eax}; 286 Register registers[] = {eax};
292 data->InitializePlatformSpecific(arraysize(registers), registers); 287 data->InitializePlatformSpecific(arraysize(registers), registers);
293 } 288 }
294 289
295 void CompareDescriptor::InitializePlatformSpecific( 290 void CompareDescriptor::InitializePlatformSpecific(
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 ebx, // the JSGeneratorObject to resume 415 ebx, // the JSGeneratorObject to resume
421 edx // the resume mode (tagged) 416 edx // the resume mode (tagged)
422 }; 417 };
423 data->InitializePlatformSpecific(arraysize(registers), registers); 418 data->InitializePlatformSpecific(arraysize(registers), registers);
424 } 419 }
425 420
426 } // namespace internal 421 } // namespace internal
427 } // namespace v8 422 } // namespace v8
428 423
429 #endif // V8_TARGET_ARCH_X87 424 #endif // V8_TARGET_ARCH_X87
OLDNEW
« no previous file with comments | « src/x87/code-stubs-x87.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698