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

Side by Side Diff: src/x87/interface-descriptors-x87.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
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_X87 5 #if V8_TARGET_ARCH_X87
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 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); 294 data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
295 } 295 }
296 296
297 297
298 void BinaryOpWithAllocationSiteDescriptor::InitializePlatformSpecific( 298 void BinaryOpWithAllocationSiteDescriptor::InitializePlatformSpecific(
299 CallInterfaceDescriptorData* data) { 299 CallInterfaceDescriptorData* data) {
300 Register registers[] = {ecx, edx, eax}; 300 Register registers[] = {ecx, edx, eax};
301 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); 301 data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
302 } 302 }
303 303
304 void BinaryOpWithVectorDescriptor::InitializePlatformSpecific(
305 CallInterfaceDescriptorData* data) {
306 // register state
307 // edx -- lhs
308 // eax -- rhs
309 // edi -- slot id
310 // ebx -- vector
311 Register registers[] = {edx, eax, edi, ebx};
312 data->InitializePlatformSpecific(arraysize(registers), registers);
313 }
314
304 void CountOpDescriptor::InitializePlatformSpecific( 315 void CountOpDescriptor::InitializePlatformSpecific(
305 CallInterfaceDescriptorData* data) { 316 CallInterfaceDescriptorData* data) {
306 Register registers[] = {eax}; 317 Register registers[] = {eax};
307 data->InitializePlatformSpecific(arraysize(registers), registers); 318 data->InitializePlatformSpecific(arraysize(registers), registers);
308 } 319 }
309 320
310 void StringAddDescriptor::InitializePlatformSpecific( 321 void StringAddDescriptor::InitializePlatformSpecific(
311 CallInterfaceDescriptorData* data) { 322 CallInterfaceDescriptorData* data) {
312 Register registers[] = {edx, eax}; 323 Register registers[] = {edx, eax};
313 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); 324 data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
409 ebx, // the JSGeneratorObject to resume 420 ebx, // the JSGeneratorObject to resume
410 edx // the resume mode (tagged) 421 edx // the resume mode (tagged)
411 }; 422 };
412 data->InitializePlatformSpecific(arraysize(registers), registers); 423 data->InitializePlatformSpecific(arraysize(registers), registers);
413 } 424 }
414 425
415 } // namespace internal 426 } // namespace internal
416 } // namespace v8 427 } // namespace v8
417 428
418 #endif // V8_TARGET_ARCH_X87 429 #endif // V8_TARGET_ARCH_X87
OLDNEW
« no previous file with comments | « src/x64/interface-descriptors-x64.cc ('k') | test/cctest/interpreter/bytecode_expectations/ArrayLiterals.golden » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698