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

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

Issue 1722193002: [compiler] Drop the CompareNilIC. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE Created 4 years, 9 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
334 void ToBooleanDescriptor::InitializePlatformSpecific( 327 void ToBooleanDescriptor::InitializePlatformSpecific(
335 CallInterfaceDescriptorData* data) { 328 CallInterfaceDescriptorData* data) {
336 Register registers[] = {eax}; 329 Register registers[] = {eax};
337 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); 330 data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
338 } 331 }
339 332
340 333
341 void BinaryOpDescriptor::InitializePlatformSpecific( 334 void BinaryOpDescriptor::InitializePlatformSpecific(
342 CallInterfaceDescriptorData* data) { 335 CallInterfaceDescriptorData* data) {
343 Register registers[] = {edx, eax}; 336 Register registers[] = {edx, eax};
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 ecx, // address of first argument (argv) 451 ecx, // address of first argument (argv)
459 ebx // the runtime function to call 452 ebx // the runtime function to call
460 }; 453 };
461 data->InitializePlatformSpecific(arraysize(registers), registers); 454 data->InitializePlatformSpecific(arraysize(registers), registers);
462 } 455 }
463 456
464 } // namespace internal 457 } // namespace internal
465 } // namespace v8 458 } // namespace v8
466 459
467 #endif // V8_TARGET_ARCH_IA32 460 #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