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

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

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

Powered by Google App Engine
This is Rietveld 408576698