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

Side by Side Diff: src/arm/interface-descriptors-arm.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/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
59 const Register ApiGetterDescriptor::function_address() { return r2; } 64 const Register ApiGetterDescriptor::function_address() { return r2; }
60 65
61 66
62 const Register MathPowTaggedDescriptor::exponent() { return r2; } 67 const Register MathPowTaggedDescriptor::exponent() { return r2; }
63 68
64 69
65 const Register MathPowIntegerDescriptor::exponent() { 70 const Register MathPowIntegerDescriptor::exponent() {
66 return MathPowTaggedDescriptor::exponent(); 71 return MathPowTaggedDescriptor::exponent();
67 } 72 }
68 73
(...skipping 13 matching lines...) Expand all
82 CallInterfaceDescriptorData* data) { 87 CallInterfaceDescriptorData* data) {
83 Register registers[] = {r1}; 88 Register registers[] = {r1};
84 data->InitializePlatformSpecific(arraysize(registers), registers); 89 data->InitializePlatformSpecific(arraysize(registers), registers);
85 } 90 }
86 91
87 92
88 void FastNewRestParameterDescriptor::InitializePlatformSpecific( 93 void FastNewRestParameterDescriptor::InitializePlatformSpecific(
89 CallInterfaceDescriptorData* data) { 94 CallInterfaceDescriptorData* data) {
90 Register registers[] = {r1}; 95 Register registers[] = {r1};
91 data->InitializePlatformSpecific(arraysize(registers), registers); 96 data->InitializePlatformSpecific(arraysize(registers), registers);
92 }
93
94
95 void FastNewSloppyArgumentsDescriptor::InitializePlatformSpecific(
96 CallInterfaceDescriptorData* data) {
97 Register registers[] = {r1};
98 data->InitializePlatformSpecific(arraysize(registers), registers);
99 } 97 }
100 98
101 99
102 void FastNewStrictArgumentsDescriptor::InitializePlatformSpecific( 100 void FastNewStrictArgumentsDescriptor::InitializePlatformSpecific(
103 CallInterfaceDescriptorData* data) { 101 CallInterfaceDescriptorData* data) {
104 Register registers[] = {r1}; 102 Register registers[] = {r1};
105 data->InitializePlatformSpecific(arraysize(registers), registers); 103 data->InitializePlatformSpecific(arraysize(registers), registers);
106 } 104 }
107 105
108 106
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
473 r2, // address of first argument (argv) 471 r2, // address of first argument (argv)
474 r1 // the runtime function to call 472 r1 // the runtime function to call
475 }; 473 };
476 data->InitializePlatformSpecific(arraysize(registers), registers); 474 data->InitializePlatformSpecific(arraysize(registers), registers);
477 } 475 }
478 476
479 } // namespace internal 477 } // namespace internal
480 } // namespace v8 478 } // namespace v8
481 479
482 #endif // V8_TARGET_ARCH_ARM 480 #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