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

Side by Side Diff: src/arm64/interface-descriptors-arm64.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/arm64/code-stubs-arm64.cc ('k') | src/code-factory.h » ('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/arm64/interface-descriptors-arm64.h" 5 #include "src/arm64/interface-descriptors-arm64.h"
6 6
7 #if V8_TARGET_ARCH_ARM64 7 #if V8_TARGET_ARCH_ARM64
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 x1; } 51 const Register InstanceOfDescriptor::LeftRegister() { return x1; }
52 const Register InstanceOfDescriptor::RightRegister() { return x0; } 52 const Register InstanceOfDescriptor::RightRegister() { return x0; }
53 53
54 54
55 const Register StringCompareDescriptor::LeftRegister() { return x1; } 55 const Register StringCompareDescriptor::LeftRegister() { return x1; }
56 const Register StringCompareDescriptor::RightRegister() { return x0; } 56 const Register StringCompareDescriptor::RightRegister() { return x0; }
57 57
58 58
59 const Register ArgumentsAccessNewDescriptor::function() { return x1; }
60 const Register ArgumentsAccessNewDescriptor::parameter_count() { return x2; }
61 const Register ArgumentsAccessNewDescriptor::parameter_pointer() { return x3; }
62
63
59 const Register ApiGetterDescriptor::function_address() { return x2; } 64 const Register ApiGetterDescriptor::function_address() { return x2; }
60 65
61 66
62 const Register MathPowTaggedDescriptor::exponent() { return x11; } 67 const Register MathPowTaggedDescriptor::exponent() { return x11; }
63 68
64 69
65 const Register MathPowIntegerDescriptor::exponent() { return x12; } 70 const Register MathPowIntegerDescriptor::exponent() { return x12; }
66 71
67 72
68 const Register GrowArrayElementsDescriptor::ObjectRegister() { return x0; } 73 const Register GrowArrayElementsDescriptor::ObjectRegister() { return x0; }
(...skipping 13 matching lines...) Expand all
82 // x1: function 87 // x1: function
83 Register registers[] = {x1}; 88 Register registers[] = {x1};
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 // x1: function 95 // x1: function
91 Register registers[] = {x1}; 96 Register registers[] = {x1};
92 data->InitializePlatformSpecific(arraysize(registers), registers);
93 }
94
95
96 void FastNewSloppyArgumentsDescriptor::InitializePlatformSpecific(
97 CallInterfaceDescriptorData* data) {
98 // x1: function
99 Register registers[] = {x1};
100 data->InitializePlatformSpecific(arraysize(registers), registers); 97 data->InitializePlatformSpecific(arraysize(registers), registers);
101 } 98 }
102 99
103 100
104 void FastNewStrictArgumentsDescriptor::InitializePlatformSpecific( 101 void FastNewStrictArgumentsDescriptor::InitializePlatformSpecific(
105 CallInterfaceDescriptorData* data) { 102 CallInterfaceDescriptorData* data) {
106 // x1: function 103 // x1: function
107 Register registers[] = {x1}; 104 Register registers[] = {x1};
108 data->InitializePlatformSpecific(arraysize(registers), registers); 105 data->InitializePlatformSpecific(arraysize(registers), registers);
109 } 106 }
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after
510 x1 // the runtime function to call 507 x1 // the runtime function to call
511 }; 508 };
512 data->InitializePlatformSpecific(arraysize(registers), registers); 509 data->InitializePlatformSpecific(arraysize(registers), registers);
513 } 510 }
514 511
515 512
516 } // namespace internal 513 } // namespace internal
517 } // namespace v8 514 } // namespace v8
518 515
519 #endif // V8_TARGET_ARCH_ARM64 516 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm64/code-stubs-arm64.cc ('k') | src/code-factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698