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

Side by Side Diff: src/mips/interface-descriptors-mips.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/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
328 void ToBooleanDescriptor::InitializePlatformSpecific( 321 void ToBooleanDescriptor::InitializePlatformSpecific(
329 CallInterfaceDescriptorData* data) { 322 CallInterfaceDescriptorData* data) {
330 Register registers[] = {a0}; 323 Register registers[] = {a0};
331 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); 324 data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
332 } 325 }
333 326
334 327
335 void BinaryOpDescriptor::InitializePlatformSpecific( 328 void BinaryOpDescriptor::InitializePlatformSpecific(
336 CallInterfaceDescriptorData* data) { 329 CallInterfaceDescriptorData* data) {
337 Register registers[] = {a1, a0}; 330 Register registers[] = {a1, a0};
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 a2, // address of first argument (argv) 446 a2, // address of first argument (argv)
454 a1 // the runtime function to call 447 a1 // the runtime function to call
455 }; 448 };
456 data->InitializePlatformSpecific(arraysize(registers), registers); 449 data->InitializePlatformSpecific(arraysize(registers), registers);
457 } 450 }
458 451
459 } // namespace internal 452 } // namespace internal
460 } // namespace v8 453 } // namespace v8
461 454
462 #endif // V8_TARGET_ARCH_MIPS 455 #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