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

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

Powered by Google App Engine
This is Rietveld 408576698