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

Side by Side Diff: src/arm64/interface-descriptors-arm64.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, 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/arm/interface-descriptors-arm.cc ('k') | src/code-factory.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 #include "src/arm64/interface-descriptors-arm64.h" 5 #include "src/arm64/interface-descriptors-arm64.h"
6 6
7 #if V8_TARGET_ARCH_ARM64 7 #if V8_TARGET_ARCH_ARM64
8 8
9 #include "src/interface-descriptors.h" 9 #include "src/interface-descriptors.h"
10 10
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 339
340 void CompareDescriptor::InitializePlatformSpecific( 340 void CompareDescriptor::InitializePlatformSpecific(
341 CallInterfaceDescriptorData* data) { 341 CallInterfaceDescriptorData* data) {
342 // x1: left operand 342 // x1: left operand
343 // x0: right operand 343 // x0: right operand
344 Register registers[] = {x1, x0}; 344 Register registers[] = {x1, x0};
345 data->InitializePlatformSpecific(arraysize(registers), registers); 345 data->InitializePlatformSpecific(arraysize(registers), registers);
346 } 346 }
347 347
348 348
349 void CompareNilDescriptor::InitializePlatformSpecific(
350 CallInterfaceDescriptorData* data) {
351 // x0: value to compare
352 Register registers[] = {x0};
353 data->InitializePlatformSpecific(arraysize(registers), registers);
354 }
355
356
349 void ToBooleanDescriptor::InitializePlatformSpecific( 357 void ToBooleanDescriptor::InitializePlatformSpecific(
350 CallInterfaceDescriptorData* data) { 358 CallInterfaceDescriptorData* data) {
351 // x0: value 359 // x0: value
352 Register registers[] = {x0}; 360 Register registers[] = {x0};
353 data->InitializePlatformSpecific(arraysize(registers), registers); 361 data->InitializePlatformSpecific(arraysize(registers), registers);
354 } 362 }
355 363
356 364
357 void BinaryOpDescriptor::InitializePlatformSpecific( 365 void BinaryOpDescriptor::InitializePlatformSpecific(
358 CallInterfaceDescriptorData* data) { 366 CallInterfaceDescriptorData* data) {
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
507 x1 // the runtime function to call 515 x1 // the runtime function to call
508 }; 516 };
509 data->InitializePlatformSpecific(arraysize(registers), registers); 517 data->InitializePlatformSpecific(arraysize(registers), registers);
510 } 518 }
511 519
512 520
513 } // namespace internal 521 } // namespace internal
514 } // namespace v8 522 } // namespace v8
515 523
516 #endif // V8_TARGET_ARCH_ARM64 524 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm/interface-descriptors-arm.cc ('k') | src/code-factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698