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

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

Issue 866493003: Retry "Use a WeakCell in the CallIC type vector." (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE. Created 5 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/ic/ic.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 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_IA32 7 #if V8_TARGET_ARCH_IA32
8 8
9 #include "src/interface-descriptors.h" 9 #include "src/interface-descriptors.h"
10 10
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 void FastCloneShallowObjectDescriptor::Initialize( 94 void FastCloneShallowObjectDescriptor::Initialize(
95 CallInterfaceDescriptorData* data) { 95 CallInterfaceDescriptorData* data) {
96 Register registers[] = {esi, eax, ebx, ecx, edx}; 96 Register registers[] = {esi, eax, ebx, ecx, edx};
97 data->Initialize(arraysize(registers), registers, NULL); 97 data->Initialize(arraysize(registers), registers, NULL);
98 } 98 }
99 99
100 100
101 void CreateAllocationSiteDescriptor::Initialize( 101 void CreateAllocationSiteDescriptor::Initialize(
102 CallInterfaceDescriptorData* data) { 102 CallInterfaceDescriptorData* data) {
103 Register registers[] = {esi, ebx, edx}; 103 Register registers[] = {esi, ebx, edx};
104 data->Initialize(arraysize(registers), registers, NULL); 104 Representation representations[] = {Representation::Tagged(),
105 Representation::Tagged(),
106 Representation::Smi()};
107 data->Initialize(arraysize(registers), registers, representations);
105 } 108 }
106 109
107 110
111 void CreateWeakCellDescriptor::Initialize(CallInterfaceDescriptorData* data) {
112 Register registers[] = {esi, ebx, edx, edi};
113 Representation representations[] = {
114 Representation::Tagged(), Representation::Tagged(), Representation::Smi(),
115 Representation::Tagged()};
116 data->Initialize(arraysize(registers), registers, representations);
117 }
118
119
108 void StoreArrayLiteralElementDescriptor::Initialize( 120 void StoreArrayLiteralElementDescriptor::Initialize(
109 CallInterfaceDescriptorData* data) { 121 CallInterfaceDescriptorData* data) {
110 Register registers[] = {esi, ecx, eax}; 122 Register registers[] = {esi, ecx, eax};
111 data->Initialize(arraysize(registers), registers, NULL); 123 data->Initialize(arraysize(registers), registers, NULL);
112 } 124 }
113 125
114 126
115 void CallFunctionDescriptor::Initialize(CallInterfaceDescriptorData* data) { 127 void CallFunctionDescriptor::Initialize(CallInterfaceDescriptorData* data) {
116 Register registers[] = {esi, edi}; 128 Register registers[] = {esi, edi};
117 data->Initialize(arraysize(registers), registers, NULL); 129 data->Initialize(arraysize(registers), registers, NULL);
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 Representation::Tagged(), // call_data 350 Representation::Tagged(), // call_data
339 Representation::Tagged(), // holder 351 Representation::Tagged(), // holder
340 Representation::External(), // api_function_address 352 Representation::External(), // api_function_address
341 }; 353 };
342 data->Initialize(arraysize(registers), registers, representations); 354 data->Initialize(arraysize(registers), registers, representations);
343 } 355 }
344 } 356 }
345 } // namespace v8::internal 357 } // namespace v8::internal
346 358
347 #endif // V8_TARGET_ARCH_IA32 359 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/code-stubs-ia32.cc ('k') | src/ic/ic.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698