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

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: Review feedback 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
« no previous file with comments | « src/ia32/code-stubs-ia32.cc ('k') | src/interface-descriptors.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 #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 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 Register registers[] = { 408 Register registers[] = {
430 ebx, // loaded new FP 409 ebx, // loaded new FP
431 }; 410 };
432 data->InitializePlatformSpecific(arraysize(registers), registers); 411 data->InitializePlatformSpecific(arraysize(registers), registers);
433 } 412 }
434 413
435 } // namespace internal 414 } // namespace internal
436 } // namespace v8 415 } // namespace v8
437 416
438 #endif // V8_TARGET_ARCH_IA32 417 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/code-stubs-ia32.cc ('k') | src/interface-descriptors.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698