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

Side by Side Diff: src/mips/interface-descriptors-mips.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/log.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 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 } 311 }
312 312
313 313
314 void CompareDescriptor::InitializePlatformSpecific( 314 void CompareDescriptor::InitializePlatformSpecific(
315 CallInterfaceDescriptorData* data) { 315 CallInterfaceDescriptorData* data) {
316 Register registers[] = {a1, a0}; 316 Register registers[] = {a1, a0};
317 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); 317 data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
318 } 318 }
319 319
320 320
321 void CompareNilDescriptor::InitializePlatformSpecific(
322 CallInterfaceDescriptorData* data) {
323 Register registers[] = {a0};
324 data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
325 }
326
327
321 void ToBooleanDescriptor::InitializePlatformSpecific( 328 void ToBooleanDescriptor::InitializePlatformSpecific(
322 CallInterfaceDescriptorData* data) { 329 CallInterfaceDescriptorData* data) {
323 Register registers[] = {a0}; 330 Register registers[] = {a0};
324 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); 331 data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
325 } 332 }
326 333
327 334
328 void BinaryOpDescriptor::InitializePlatformSpecific( 335 void BinaryOpDescriptor::InitializePlatformSpecific(
329 CallInterfaceDescriptorData* data) { 336 CallInterfaceDescriptorData* data) {
330 Register registers[] = {a1, a0}; 337 Register registers[] = {a1, a0};
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
446 a2, // address of first argument (argv) 453 a2, // address of first argument (argv)
447 a1 // the runtime function to call 454 a1 // the runtime function to call
448 }; 455 };
449 data->InitializePlatformSpecific(arraysize(registers), registers); 456 data->InitializePlatformSpecific(arraysize(registers), registers);
450 } 457 }
451 458
452 } // namespace internal 459 } // namespace internal
453 } // namespace v8 460 } // namespace v8
454 461
455 #endif // V8_TARGET_ARCH_MIPS 462 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/log.cc ('k') | src/mips64/interface-descriptors-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698