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

Side by Side Diff: src/arm64/interface-descriptors-arm64.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/arm64/code-stubs-arm64.cc ('k') | src/code-stubs.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 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_ARM64 7 #if V8_TARGET_ARCH_ARM64
8 8
9 #include "src/interface-descriptors.h" 9 #include "src/interface-descriptors.h"
10 10
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 data->Initialize(arraysize(registers), registers, NULL); 117 data->Initialize(arraysize(registers), registers, NULL);
118 } 118 }
119 119
120 120
121 void CreateAllocationSiteDescriptor::Initialize( 121 void CreateAllocationSiteDescriptor::Initialize(
122 CallInterfaceDescriptorData* data) { 122 CallInterfaceDescriptorData* data) {
123 // cp: context 123 // cp: context
124 // x2: feedback vector 124 // x2: feedback vector
125 // x3: call feedback slot 125 // x3: call feedback slot
126 Register registers[] = {cp, x2, x3}; 126 Register registers[] = {cp, x2, x3};
127 data->Initialize(arraysize(registers), registers, NULL); 127 Representation representations[] = {Representation::Tagged(),
128 Representation::Tagged(),
129 Representation::Smi()};
130 data->Initialize(arraysize(registers), registers, representations);
128 } 131 }
129 132
130 133
134 void CreateWeakCellDescriptor::Initialize(CallInterfaceDescriptorData* data) {
135 // cp: context
136 // x2: feedback vector
137 // x3: call feedback slot
138 // x1: tagged value to put in the weak cell
139 Register registers[] = {cp, x2, x3, x1};
140 Representation representations[] = {
141 Representation::Tagged(), Representation::Tagged(), Representation::Smi(),
142 Representation::Tagged()};
143 data->Initialize(arraysize(registers), registers, representations);
144 }
145
146
131 void StoreArrayLiteralElementDescriptor::Initialize( 147 void StoreArrayLiteralElementDescriptor::Initialize(
132 CallInterfaceDescriptorData* data) { 148 CallInterfaceDescriptorData* data) {
133 Register registers[] = {cp, x3, x0}; 149 Register registers[] = {cp, x3, x0};
134 data->Initialize(arraysize(registers), registers, NULL); 150 data->Initialize(arraysize(registers), registers, NULL);
135 } 151 }
136 152
137 153
138 void CallFunctionDescriptor::Initialize(CallInterfaceDescriptorData* data) { 154 void CallFunctionDescriptor::Initialize(CallInterfaceDescriptorData* data) {
139 // x1 function the function to call 155 // x1 function the function to call
140 Register registers[] = {cp, x1}; 156 Register registers[] = {cp, x1};
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 Representation::Tagged(), // holder 421 Representation::Tagged(), // holder
406 Representation::External(), // api_function_address 422 Representation::External(), // api_function_address
407 }; 423 };
408 data->Initialize(arraysize(registers), registers, representations, 424 data->Initialize(arraysize(registers), registers, representations,
409 &default_descriptor); 425 &default_descriptor);
410 } 426 }
411 } 427 }
412 } // namespace v8::internal 428 } // namespace v8::internal
413 429
414 #endif // V8_TARGET_ARCH_ARM64 430 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm64/code-stubs-arm64.cc ('k') | src/code-stubs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698