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

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

Issue 1556913002: Use register arguments for RestParamAccessStub (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Ports. Created 4 years, 11 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-stubs.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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 58
59 const Register ArgumentsAccessReadDescriptor::index() { return x1; } 59 const Register ArgumentsAccessReadDescriptor::index() { return x1; }
60 const Register ArgumentsAccessReadDescriptor::parameter_count() { return x0; } 60 const Register ArgumentsAccessReadDescriptor::parameter_count() { return x0; }
61 61
62 62
63 const Register ArgumentsAccessNewDescriptor::function() { return x1; } 63 const Register ArgumentsAccessNewDescriptor::function() { return x1; }
64 const Register ArgumentsAccessNewDescriptor::parameter_count() { return x2; } 64 const Register ArgumentsAccessNewDescriptor::parameter_count() { return x2; }
65 const Register ArgumentsAccessNewDescriptor::parameter_pointer() { return x3; } 65 const Register ArgumentsAccessNewDescriptor::parameter_pointer() { return x3; }
66 66
67 67
68 const Register RestParamAccessDescriptor::parameter_count() { return x2; }
69 const Register RestParamAccessDescriptor::parameter_pointer() { return x3; }
70 const Register RestParamAccessDescriptor::rest_parameter_index() { return x4; }
71 const Register RestParamAccessDescriptor::language_mode() { return x1; }
72
73
68 const Register ApiGetterDescriptor::function_address() { return x2; } 74 const Register ApiGetterDescriptor::function_address() { return x2; }
69 75
70 76
71 const Register MathPowTaggedDescriptor::exponent() { return x11; } 77 const Register MathPowTaggedDescriptor::exponent() { return x11; }
72 78
73 79
74 const Register MathPowIntegerDescriptor::exponent() { return x12; } 80 const Register MathPowIntegerDescriptor::exponent() { return x12; }
75 81
76 82
77 const Register GrowArrayElementsDescriptor::ObjectRegister() { return x0; } 83 const Register GrowArrayElementsDescriptor::ObjectRegister() { return x0; }
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after
492 x1 // the runtime function to call 498 x1 // the runtime function to call
493 }; 499 };
494 data->InitializePlatformSpecific(arraysize(registers), registers); 500 data->InitializePlatformSpecific(arraysize(registers), registers);
495 } 501 }
496 502
497 503
498 } // namespace internal 504 } // namespace internal
499 } // namespace v8 505 } // namespace v8
500 506
501 #endif // V8_TARGET_ARCH_ARM64 507 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm64/code-stubs-arm64.cc ('k') | src/code-stubs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698