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

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

Issue 1743433002: Revert of [compiler] Drop the CompareNilIC. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 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/full-codegen/x64/full-codegen-x64.cc ('k') | src/ic/ic.h » ('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_IA32 5 #if V8_TARGET_ARCH_IA32
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 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 } 317 }
318 318
319 319
320 void CompareDescriptor::InitializePlatformSpecific( 320 void CompareDescriptor::InitializePlatformSpecific(
321 CallInterfaceDescriptorData* data) { 321 CallInterfaceDescriptorData* data) {
322 Register registers[] = {edx, eax}; 322 Register registers[] = {edx, eax};
323 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); 323 data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
324 } 324 }
325 325
326 326
327 void CompareNilDescriptor::InitializePlatformSpecific(
328 CallInterfaceDescriptorData* data) {
329 Register registers[] = {eax};
330 data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
331 }
332
333
327 void ToBooleanDescriptor::InitializePlatformSpecific( 334 void ToBooleanDescriptor::InitializePlatformSpecific(
328 CallInterfaceDescriptorData* data) { 335 CallInterfaceDescriptorData* data) {
329 Register registers[] = {eax}; 336 Register registers[] = {eax};
330 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); 337 data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
331 } 338 }
332 339
333 340
334 void BinaryOpDescriptor::InitializePlatformSpecific( 341 void BinaryOpDescriptor::InitializePlatformSpecific(
335 CallInterfaceDescriptorData* data) { 342 CallInterfaceDescriptorData* data) {
336 Register registers[] = {edx, eax}; 343 Register registers[] = {edx, eax};
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
451 ecx, // address of first argument (argv) 458 ecx, // address of first argument (argv)
452 ebx // the runtime function to call 459 ebx // the runtime function to call
453 }; 460 };
454 data->InitializePlatformSpecific(arraysize(registers), registers); 461 data->InitializePlatformSpecific(arraysize(registers), registers);
455 } 462 }
456 463
457 } // namespace internal 464 } // namespace internal
458 } // namespace v8 465 } // namespace v8
459 466
460 #endif // V8_TARGET_ARCH_IA32 467 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/full-codegen/x64/full-codegen-x64.cc ('k') | src/ic/ic.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698