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

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

Issue 1489413006: Revert of Provide call counts for constructor calls, surface them as a vector IC. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years 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/arm/code-stubs-arm.cc ('k') | src/arm64/code-stubs-arm64.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/arm/interface-descriptors-arm.h" 5 #include "src/arm/interface-descriptors-arm.h"
6 6
7 #if V8_TARGET_ARCH_ARM 7 #if V8_TARGET_ARCH_ARM
8 8
9 #include "src/interface-descriptors.h" 9 #include "src/interface-descriptors.h"
10 10
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 } 183 }
184 184
185 185
186 void CallFunctionWithFeedbackAndVectorDescriptor::InitializePlatformSpecific( 186 void CallFunctionWithFeedbackAndVectorDescriptor::InitializePlatformSpecific(
187 CallInterfaceDescriptorData* data) { 187 CallInterfaceDescriptorData* data) {
188 Register registers[] = {r1, r3, r2}; 188 Register registers[] = {r1, r3, r2};
189 data->InitializePlatformSpecific(arraysize(registers), registers); 189 data->InitializePlatformSpecific(arraysize(registers), registers);
190 } 190 }
191 191
192 192
193 void ConstructDescriptor::InitializePlatformSpecific( 193 void CallConstructDescriptor::InitializePlatformSpecific(
194 CallInterfaceDescriptorData* data) { 194 CallInterfaceDescriptorData* data) {
195 // r0 : number of arguments 195 // r0 : number of arguments
196 // r1 : the function to call 196 // r1 : the function to call
197 // r2 : feedback vector 197 // r2 : feedback vector
198 // r3 : slot in feedback vector (Smi, for RecordCallTarget) 198 // r3 : slot in feedback vector (Smi, for RecordCallTarget)
199 // r4 : new target (for IsSuperConstructorCall)
199 // TODO(turbofan): So far we don't gather type feedback and hence skip the 200 // TODO(turbofan): So far we don't gather type feedback and hence skip the
200 // slot parameter, but ArrayConstructStub needs the vector to be undefined. 201 // slot parameter, but ArrayConstructStub needs the vector to be undefined.
201 Register registers[] = {r0, r1, r2, r3}; 202 Register registers[] = {r0, r1, r4, r2};
202 data->InitializePlatformSpecific(arraysize(registers), registers); 203 data->InitializePlatformSpecific(arraysize(registers), registers);
203 } 204 }
204 205
205 206
206 void CallTrampolineDescriptor::InitializePlatformSpecific( 207 void CallTrampolineDescriptor::InitializePlatformSpecific(
207 CallInterfaceDescriptorData* data) { 208 CallInterfaceDescriptorData* data) {
208 // r0 : number of arguments 209 // r0 : number of arguments
209 // r1 : the target to call 210 // r1 : the target to call
210 Register registers[] = {r1, r0}; 211 Register registers[] = {r1, r0};
211 data->InitializePlatformSpecific(arraysize(registers), registers); 212 data->InitializePlatformSpecific(arraysize(registers), registers);
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
467 r2, // address of first argument (argv) 468 r2, // address of first argument (argv)
468 r1 // the runtime function to call 469 r1 // the runtime function to call
469 }; 470 };
470 data->InitializePlatformSpecific(arraysize(registers), registers); 471 data->InitializePlatformSpecific(arraysize(registers), registers);
471 } 472 }
472 473
473 } // namespace internal 474 } // namespace internal
474 } // namespace v8 475 } // namespace v8
475 476
476 #endif // V8_TARGET_ARCH_ARM 477 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/code-stubs-arm.cc ('k') | src/arm64/code-stubs-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698