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

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

Issue 2645743002: [builtins] Port parameter and argument-related code stubs to CSA (Closed)
Patch Set: Remove stray change Created 3 years, 10 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
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_IA32 5 #if V8_TARGET_ARCH_IA32
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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 const Register GrowArrayElementsDescriptor::KeyRegister() { return ebx; } 62 const Register GrowArrayElementsDescriptor::KeyRegister() { return ebx; }
63 63
64 64
65 void FastNewClosureDescriptor::InitializePlatformSpecific( 65 void FastNewClosureDescriptor::InitializePlatformSpecific(
66 CallInterfaceDescriptorData* data) { 66 CallInterfaceDescriptorData* data) {
67 // SharedFunctionInfo, vector, slot index. 67 // SharedFunctionInfo, vector, slot index.
68 Register registers[] = {ebx, ecx, edx}; 68 Register registers[] = {ebx, ecx, edx};
69 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); 69 data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
70 } 70 }
71 71
72 void FastNewRestParameterDescriptor::InitializePlatformSpecific(
73 CallInterfaceDescriptorData* data) {
74 Register registers[] = {edi};
75 data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
76 }
77
78
79 void FastNewSloppyArgumentsDescriptor::InitializePlatformSpecific(
80 CallInterfaceDescriptorData* data) {
81 Register registers[] = {edi};
82 data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
83 }
84
85
86 void FastNewStrictArgumentsDescriptor::InitializePlatformSpecific(
87 CallInterfaceDescriptorData* data) {
88 Register registers[] = {edi};
89 data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
90 }
91
92
93 // static 72 // static
94 const Register TypeConversionDescriptor::ArgumentRegister() { return eax; } 73 const Register TypeConversionDescriptor::ArgumentRegister() { return eax; }
95 74
96 void TypeofDescriptor::InitializePlatformSpecific( 75 void TypeofDescriptor::InitializePlatformSpecific(
97 CallInterfaceDescriptorData* data) { 76 CallInterfaceDescriptorData* data) {
98 Register registers[] = {ebx}; 77 Register registers[] = {ebx};
99 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); 78 data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
100 } 79 }
101 80
102 81
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 Register registers[] = { 403 Register registers[] = {
425 ebx, // loaded new FP 404 ebx, // loaded new FP
426 }; 405 };
427 data->InitializePlatformSpecific(arraysize(registers), registers); 406 data->InitializePlatformSpecific(arraysize(registers), registers);
428 } 407 }
429 408
430 } // namespace internal 409 } // namespace internal
431 } // namespace v8 410 } // namespace v8
432 411
433 #endif // V8_TARGET_ARCH_IA32 412 #endif // V8_TARGET_ARCH_IA32
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698