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

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

Issue 1695633003: [runtime] Turn ArgumentAccessStub into FastNewSloppyArgumentsStub. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix MIPS dead code 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/arm/code-stubs-arm.cc ('k') | src/arm64/code-stubs-arm64.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/arm/interface-descriptors-arm.h" 5 #include "src/arm/interface-descriptors-arm.h"
6 6
7 #if V8_TARGET_ARCH_ARM 7 #if V8_TARGET_ARCH_ARM
8 8
9 #include "src/interface-descriptors.h" 9 #include "src/interface-descriptors.h"
10 10
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 49
50 50
51 const Register InstanceOfDescriptor::LeftRegister() { return r1; } 51 const Register InstanceOfDescriptor::LeftRegister() { return r1; }
52 const Register InstanceOfDescriptor::RightRegister() { return r0; } 52 const Register InstanceOfDescriptor::RightRegister() { return r0; }
53 53
54 54
55 const Register StringCompareDescriptor::LeftRegister() { return r1; } 55 const Register StringCompareDescriptor::LeftRegister() { return r1; }
56 const Register StringCompareDescriptor::RightRegister() { return r0; } 56 const Register StringCompareDescriptor::RightRegister() { return r0; }
57 57
58 58
59 const Register ArgumentsAccessNewDescriptor::function() { return r1; }
60 const Register ArgumentsAccessNewDescriptor::parameter_count() { return r2; }
61 const Register ArgumentsAccessNewDescriptor::parameter_pointer() { return r3; }
62
63
64 const Register ApiGetterDescriptor::function_address() { return r2; } 59 const Register ApiGetterDescriptor::function_address() { return r2; }
65 60
66 61
67 const Register MathPowTaggedDescriptor::exponent() { return r2; } 62 const Register MathPowTaggedDescriptor::exponent() { return r2; }
68 63
69 64
70 const Register MathPowIntegerDescriptor::exponent() { 65 const Register MathPowIntegerDescriptor::exponent() {
71 return MathPowTaggedDescriptor::exponent(); 66 return MathPowTaggedDescriptor::exponent();
72 } 67 }
73 68
(...skipping 16 matching lines...) Expand all
90 } 85 }
91 86
92 87
93 void FastNewRestParameterDescriptor::InitializePlatformSpecific( 88 void FastNewRestParameterDescriptor::InitializePlatformSpecific(
94 CallInterfaceDescriptorData* data) { 89 CallInterfaceDescriptorData* data) {
95 Register registers[] = {r1}; 90 Register registers[] = {r1};
96 data->InitializePlatformSpecific(arraysize(registers), registers); 91 data->InitializePlatformSpecific(arraysize(registers), registers);
97 } 92 }
98 93
99 94
95 void FastNewSloppyArgumentsDescriptor::InitializePlatformSpecific(
96 CallInterfaceDescriptorData* data) {
97 Register registers[] = {r1};
98 data->InitializePlatformSpecific(arraysize(registers), registers);
99 }
100
101
100 void FastNewStrictArgumentsDescriptor::InitializePlatformSpecific( 102 void FastNewStrictArgumentsDescriptor::InitializePlatformSpecific(
101 CallInterfaceDescriptorData* data) { 103 CallInterfaceDescriptorData* data) {
102 Register registers[] = {r1}; 104 Register registers[] = {r1};
103 data->InitializePlatformSpecific(arraysize(registers), registers); 105 data->InitializePlatformSpecific(arraysize(registers), registers);
104 } 106 }
105 107
106 108
107 void ToNumberDescriptor::InitializePlatformSpecific( 109 void ToNumberDescriptor::InitializePlatformSpecific(
108 CallInterfaceDescriptorData* data) { 110 CallInterfaceDescriptorData* data) {
109 Register registers[] = {r0}; 111 Register registers[] = {r0};
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 r2, // address of first argument (argv) 473 r2, // address of first argument (argv)
472 r1 // the runtime function to call 474 r1 // the runtime function to call
473 }; 475 };
474 data->InitializePlatformSpecific(arraysize(registers), registers); 476 data->InitializePlatformSpecific(arraysize(registers), registers);
475 } 477 }
476 478
477 } // namespace internal 479 } // namespace internal
478 } // namespace v8 480 } // namespace v8
479 481
480 #endif // V8_TARGET_ARCH_ARM 482 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/code-stubs-arm.cc ('k') | src/arm64/code-stubs-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698