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

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

Issue 1693513002: [runtime] Introduce FastNewStrictArgumentsStub to optimize strict arguments. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix mips and mips64. 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/mips/code-stubs-mips.cc ('k') | src/mips64/builtins-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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 } 92 }
93 93
94 94
95 void FastNewRestParameterDescriptor::InitializePlatformSpecific( 95 void FastNewRestParameterDescriptor::InitializePlatformSpecific(
96 CallInterfaceDescriptorData* data) { 96 CallInterfaceDescriptorData* data) {
97 Register registers[] = {a1}; 97 Register registers[] = {a1};
98 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); 98 data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
99 } 99 }
100 100
101 101
102 void FastNewStrictArgumentsDescriptor::InitializePlatformSpecific(
103 CallInterfaceDescriptorData* data) {
104 Register registers[] = {a1};
105 data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
106 }
107
108
102 void ToNumberDescriptor::InitializePlatformSpecific( 109 void ToNumberDescriptor::InitializePlatformSpecific(
103 CallInterfaceDescriptorData* data) { 110 CallInterfaceDescriptorData* data) {
104 Register registers[] = {a0}; 111 Register registers[] = {a0};
105 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); 112 data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
106 } 113 }
107 114
108 115
109 // static 116 // static
110 const Register ToLengthDescriptor::ReceiverRegister() { return a0; } 117 const Register ToLengthDescriptor::ReceiverRegister() { return a0; }
111 118
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
443 a2, // address of first argument (argv) 450 a2, // address of first argument (argv)
444 a1 // the runtime function to call 451 a1 // the runtime function to call
445 }; 452 };
446 data->InitializePlatformSpecific(arraysize(registers), registers); 453 data->InitializePlatformSpecific(arraysize(registers), registers);
447 } 454 }
448 455
449 } // namespace internal 456 } // namespace internal
450 } // namespace v8 457 } // namespace v8
451 458
452 #endif // V8_TARGET_ARCH_MIPS 459 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/mips/code-stubs-mips.cc ('k') | src/mips64/builtins-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698