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

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

Issue 1701653002: Revert of [runtime] Turn ArgumentAccessStub into FastNewSloppyArgumentsStub. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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/code-stubs-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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 47
48 48
49 const Register InstanceOfDescriptor::LeftRegister() { return a1; } 49 const Register InstanceOfDescriptor::LeftRegister() { return a1; }
50 const Register InstanceOfDescriptor::RightRegister() { return a0; } 50 const Register InstanceOfDescriptor::RightRegister() { return a0; }
51 51
52 52
53 const Register StringCompareDescriptor::LeftRegister() { return a1; } 53 const Register StringCompareDescriptor::LeftRegister() { return a1; }
54 const Register StringCompareDescriptor::RightRegister() { return a0; } 54 const Register StringCompareDescriptor::RightRegister() { return a0; }
55 55
56 56
57 const Register ArgumentsAccessNewDescriptor::function() { return a1; }
58 const Register ArgumentsAccessNewDescriptor::parameter_count() { return a2; }
59 const Register ArgumentsAccessNewDescriptor::parameter_pointer() { return a3; }
60
61
57 const Register ApiGetterDescriptor::function_address() { return a2; } 62 const Register ApiGetterDescriptor::function_address() { return a2; }
58 63
59 64
60 const Register MathPowTaggedDescriptor::exponent() { return a2; } 65 const Register MathPowTaggedDescriptor::exponent() { return a2; }
61 66
62 67
63 const Register MathPowIntegerDescriptor::exponent() { 68 const Register MathPowIntegerDescriptor::exponent() {
64 return MathPowTaggedDescriptor::exponent(); 69 return MathPowTaggedDescriptor::exponent();
65 } 70 }
66 71
(...skipping 13 matching lines...) Expand all
80 CallInterfaceDescriptorData* data) { 85 CallInterfaceDescriptorData* data) {
81 Register registers[] = {a1}; 86 Register registers[] = {a1};
82 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); 87 data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
83 } 88 }
84 89
85 90
86 void FastNewRestParameterDescriptor::InitializePlatformSpecific( 91 void FastNewRestParameterDescriptor::InitializePlatformSpecific(
87 CallInterfaceDescriptorData* data) { 92 CallInterfaceDescriptorData* data) {
88 Register registers[] = {a1}; 93 Register registers[] = {a1};
89 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); 94 data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
90 }
91
92
93 void FastNewSloppyArgumentsDescriptor::InitializePlatformSpecific(
94 CallInterfaceDescriptorData* data) {
95 Register registers[] = {a1};
96 data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
97 } 95 }
98 96
99 97
100 void FastNewStrictArgumentsDescriptor::InitializePlatformSpecific( 98 void FastNewStrictArgumentsDescriptor::InitializePlatformSpecific(
101 CallInterfaceDescriptorData* data) { 99 CallInterfaceDescriptorData* data) {
102 Register registers[] = {a1}; 100 Register registers[] = {a1};
103 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); 101 data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
104 } 102 }
105 103
106 104
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
448 a2, // address of first argument (argv) 446 a2, // address of first argument (argv)
449 a1 // the runtime function to call 447 a1 // the runtime function to call
450 }; 448 };
451 data->InitializePlatformSpecific(arraysize(registers), registers); 449 data->InitializePlatformSpecific(arraysize(registers), registers);
452 } 450 }
453 451
454 } // namespace internal 452 } // namespace internal
455 } // namespace v8 453 } // namespace v8
456 454
457 #endif // V8_TARGET_ARCH_MIPS 455 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/mips/code-stubs-mips.cc ('k') | src/mips64/code-stubs-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698