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

Side by Side Diff: src/mips64/interface-descriptors-mips64.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, 4 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/mips/interface-descriptors-mips.cc ('k') | src/ppc/interface-descriptors-ppc.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 #if V8_TARGET_ARCH_MIPS64 5 #if V8_TARGET_ARCH_MIPS64
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 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); 287 data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
288 } 288 }
289 289
290 290
291 void BinaryOpWithAllocationSiteDescriptor::InitializePlatformSpecific( 291 void BinaryOpWithAllocationSiteDescriptor::InitializePlatformSpecific(
292 CallInterfaceDescriptorData* data) { 292 CallInterfaceDescriptorData* data) {
293 Register registers[] = {a2, a1, a0}; 293 Register registers[] = {a2, a1, a0};
294 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); 294 data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
295 } 295 }
296 296
297 void BinaryOpWithVectorDescriptor::InitializePlatformSpecific(
298 CallInterfaceDescriptorData* data) {
299 // register state
300 // a1 -- lhs
301 // a0 -- rhs
302 // a4 -- slot id
303 // a3 -- vector
304 Register registers[] = {a1, a0, a4, a3};
305 data->InitializePlatformSpecific(arraysize(registers), registers);
306 }
307
297 void CountOpDescriptor::InitializePlatformSpecific( 308 void CountOpDescriptor::InitializePlatformSpecific(
298 CallInterfaceDescriptorData* data) { 309 CallInterfaceDescriptorData* data) {
299 Register registers[] = {a1}; 310 Register registers[] = {a1};
300 data->InitializePlatformSpecific(arraysize(registers), registers); 311 data->InitializePlatformSpecific(arraysize(registers), registers);
301 } 312 }
302 313
303 void StringAddDescriptor::InitializePlatformSpecific( 314 void StringAddDescriptor::InitializePlatformSpecific(
304 CallInterfaceDescriptorData* data) { 315 CallInterfaceDescriptorData* data) {
305 Register registers[] = {a1, a0}; 316 Register registers[] = {a1, a0};
306 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); 317 data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 a1, // the JSGeneratorObject to resume 413 a1, // the JSGeneratorObject to resume
403 a2 // the resume mode (tagged) 414 a2 // the resume mode (tagged)
404 }; 415 };
405 data->InitializePlatformSpecific(arraysize(registers), registers); 416 data->InitializePlatformSpecific(arraysize(registers), registers);
406 } 417 }
407 418
408 } // namespace internal 419 } // namespace internal
409 } // namespace v8 420 } // namespace v8
410 421
411 #endif // V8_TARGET_ARCH_MIPS64 422 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/mips/interface-descriptors-mips.cc ('k') | src/ppc/interface-descriptors-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698