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

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

Issue 2263253002: [interpreter] Make the binary op with Smi bytecode handlers collect type feedback. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Update. Created 4 years, 3 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/interface-descriptors-mips64.cc ('k') | src/x64/interface-descriptors-x64.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_PPC 5 #if V8_TARGET_ARCH_PPC
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 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 data->InitializePlatformSpecific(arraysize(registers), registers); 286 data->InitializePlatformSpecific(arraysize(registers), registers);
287 } 287 }
288 288
289 289
290 void BinaryOpWithAllocationSiteDescriptor::InitializePlatformSpecific( 290 void BinaryOpWithAllocationSiteDescriptor::InitializePlatformSpecific(
291 CallInterfaceDescriptorData* data) { 291 CallInterfaceDescriptorData* data) {
292 Register registers[] = {r5, r4, r3}; 292 Register registers[] = {r5, r4, r3};
293 data->InitializePlatformSpecific(arraysize(registers), registers); 293 data->InitializePlatformSpecific(arraysize(registers), registers);
294 } 294 }
295 295
296 void BinaryOpWithVectorDescriptor::InitializePlatformSpecific(
297 CallInterfaceDescriptorData* data) {
298 // register state
299 // r4 -- lhs
300 // r3 -- rhs
301 // r7 -- slot id
302 // r6 -- vector
303 Register registers[] = {r4, r3, r7, r6};
304 data->InitializePlatformSpecific(arraysize(registers), registers);
305 }
306
296 void CountOpDescriptor::InitializePlatformSpecific( 307 void CountOpDescriptor::InitializePlatformSpecific(
297 CallInterfaceDescriptorData* data) { 308 CallInterfaceDescriptorData* data) {
298 Register registers[] = {r4}; 309 Register registers[] = {r4};
299 data->InitializePlatformSpecific(arraysize(registers), registers); 310 data->InitializePlatformSpecific(arraysize(registers), registers);
300 } 311 }
301 312
302 void StringAddDescriptor::InitializePlatformSpecific( 313 void StringAddDescriptor::InitializePlatformSpecific(
303 CallInterfaceDescriptorData* data) { 314 CallInterfaceDescriptorData* data) {
304 Register registers[] = {r4, r3}; 315 Register registers[] = {r4, r3};
305 data->InitializePlatformSpecific(arraysize(registers), registers); 316 data->InitializePlatformSpecific(arraysize(registers), registers);
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 r3, // the value to pass to the generator 411 r3, // the value to pass to the generator
401 r4, // the JSGeneratorObject to resume 412 r4, // the JSGeneratorObject to resume
402 r5 // the resume mode (tagged) 413 r5 // the resume mode (tagged)
403 }; 414 };
404 data->InitializePlatformSpecific(arraysize(registers), registers); 415 data->InitializePlatformSpecific(arraysize(registers), registers);
405 } 416 }
406 } // namespace internal 417 } // namespace internal
407 } // namespace v8 418 } // namespace v8
408 419
409 #endif // V8_TARGET_ARCH_PPC 420 #endif // V8_TARGET_ARCH_PPC
OLDNEW
« no previous file with comments | « src/mips64/interface-descriptors-mips64.cc ('k') | src/x64/interface-descriptors-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698